Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009417/0.0009417, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002322, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008385/0.0008385, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002252, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9771/0.9771, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1559/1.133, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.436e-05, allocations: 5.406 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005194/0.005218, allocations: 3.846 MB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.007577, allocations: 1.041 MB / 226.9 MB, free: 11.13 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.007952, allocations: 11.94 kB / 226.9 MB, free: 11.12 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.008198, allocations: 83.14 kB / 227 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.008647, allocations: 190.4 kB / 227.2 MB, free: 10.85 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.009191, allocations: 203.6 kB / 227.4 MB, free: 10.65 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.0102, allocations: 0.7742 MB / 228.1 MB, free: 9.871 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.01041, allocations: 114.2 kB / 228.2 MB, free: 9.758 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007604/0.01117, allocations: 0.5079 MB / 228.8 MB, free: 9.25 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.01155, allocations: 263.3 kB / 229 MB, free: 8.992 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.01165, allocations: 76 kB / 229.1 MB, free: 8.918 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.591e-05/0.01175, allocations: 72 kB / 229.2 MB, free: 8.848 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.01184, allocations: 103.7 kB / 229.3 MB, free: 8.746 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.01203, allocations: 179.6 kB / 229.4 MB, free: 8.57 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.01254, allocations: 446.5 kB / 229.9 MB, free: 8.133 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.01255, allocations: 0 / 229.9 MB, free: 8.133 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01256, allocations: 0 / 229.9 MB, free: 8.133 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.01257, allocations: 0 / 229.9 MB, free: 8.133 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001555/0.01412, allocations: 0.9375 MB / 230.8 MB, free: 7.164 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.01416, allocations: 12.03 kB / 230.8 MB, free: 7.152 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.01427, allocations: 60.88 kB / 230.9 MB, free: 7.094 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.01464, allocations: 263.8 kB / 231.1 MB, free: 6.809 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.01468, allocations: 29.38 kB / 231.2 MB, free: 6.781 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.01474, allocations: 36.36 kB / 231.2 MB, free: 6.746 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.01537, allocations: 419.5 kB / 231.6 MB, free: 6.305 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.01538, allocations: 3.938 kB / 231.6 MB, free: 6.301 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.01542, allocations: 16 kB / 231.6 MB, free: 6.285 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.01543, allocations: 8 kB / 231.6 MB, free: 6.277 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.01569, allocations: 130.9 kB / 231.8 MB, free: 6.148 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.01763, allocations: 1.265 MB / 233 MB, free: 4.828 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/0.01861, allocations: 330.5 kB / 233.4 MB, free: 4.496 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.01881, allocations: 120.8 kB / 233.5 MB, free: 4.375 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.01884, allocations: 4.625 kB / 233.5 MB, free: 4.371 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.01913, allocations: 221.5 kB / 233.7 MB, free: 4.133 MB / 234.7 MB Notification: Performance of pre-optimization done (n=39): time 1.823e-06/0.01913, allocations: 0 / 233.7 MB, free: 4.133 MB / 234.7 MB Notification: Performance of matching and sorting (n=39): time 0.002693/0.02183, allocations: 0.7751 MB / 234.5 MB, free: 3.348 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.02186, allocations: 55.41 kB / 234.5 MB, free: 3.281 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.02211, allocations: 323.3 kB / 234.8 MB, free: 2.953 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.02215, allocations: 33.7 kB / 234.9 MB, free: 2.914 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.02225, allocations: 193.7 kB / 235.1 MB, free: 2.719 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.02235, allocations: 138.8 kB / 235.2 MB, free: 2.582 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.02247, allocations: 78.02 kB / 235.3 MB, free: 2.496 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.02258, allocations: 350.7 kB / 235.6 MB, free: 2.145 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.02272, allocations: 82.55 kB / 235.7 MB, free: 2.059 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.02313, allocations: 158 kB / 235.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.02339, allocations: 185.4 kB / 236 MB, free: 1.688 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02339, allocations: 0 / 236 MB, free: 1.688 MB / 234.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001133/0.02452, allocations: 448.5 kB / 236.5 MB, free: 1.23 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.02457, allocations: 33.7 kB / 236.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.02457, allocations: 0 / 236.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.02503, allocations: 192.6 kB / 236.7 MB, free: 1 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.02531, allocations: 83.94 kB / 236.8 MB, free: 0.918 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.02815, allocations: 2.011 MB / 238.8 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.02841, allocations: 59.73 kB / 238.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.02844, allocations: 8 kB / 238.8 MB, free: 14.76 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.02858, allocations: 145.6 kB / 239 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.02864, allocations: 39.95 kB / 239 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.785e-05/0.02872, allocations: 48.25 kB / 239.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02872, allocations: 4 kB / 239.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.02873, allocations: 0 / 239.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.02873, allocations: 7.984 kB / 239.1 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.0291, allocations: 281.9 kB / 239.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.02911, allocations: 0 / 239.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.02936, allocations: 71.88 kB / 239.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.02948, allocations: 51.64 kB / 239.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004179/0.0299, allocations: 196.6 kB / 239.7 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.02992, allocations: 4 kB / 239.7 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.03254, allocations: 1.992 MB / 241.7 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03254, allocations: 0 / 241.7 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009655/0.03351, allocations: 438.6 kB / 242.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.03356, allocations: 11.94 kB / 242.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.03376, allocations: 39.95 kB / 242.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.03387, allocations: 51.91 kB / 242.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.03389, allocations: 4 kB / 242.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.03401, allocations: 132.7 kB / 242.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03401, allocations: 4 kB / 242.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004616/0.03448, allocations: 163.9 kB / 242.5 MB, free: 10.98 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.03461, allocations: 100.4 kB / 242.6 MB, free: 10.87 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009494/0.03556, allocations: 495.9 kB / 243.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/0.03558, allocations: 8 kB / 243.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.03606, allocations: 354.7 kB / 243.4 MB, free: 9.977 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.03659, allocations: 0.7754 MB / 244.2 MB, free: 9.055 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.04089, allocations: 0.9153 MB / 245.1 MB, free: 8.105 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.562e-05/0.04099, allocations: 113.8 kB / 245.2 MB, free: 7.973 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.04115, allocations: 43.27 kB / 245.3 MB, free: 7.934 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.04136, allocations: 115.3 kB / 245.4 MB, free: 7.82 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04136, allocations: 0 / 245.4 MB, free: 7.82 MB / 250.7 MB Notification: Performance of Templates: time 0.01745/0.05881, allocations: 12.35 MB / 257.7 MB, free: 11.46 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.329784751869738]