Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 106 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 189.2 kB / 24.47 MB, free: 4.094 MB / 14.72 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 1.782/1.782, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 59.92 kB / 347.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4455, allocations: 49.15 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.005401/0.4509, allocations: 2.896 MB / 399.7 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.4529, allocations: 0.7839 MB / 400.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.4531, allocations: 9.031 kB / 400.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.4534, allocations: 47.09 kB / 400.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.4537, allocations: 106.6 kB / 400.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.4542, allocations: 108.2 kB / 400.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000628/0.4548, allocations: 409 kB / 401.2 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.4551, allocations: 105.2 kB / 401.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.4554, allocations: 157.9 kB / 401.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.4557, allocations: 160.9 kB / 401.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.4558, allocations: 37.25 kB / 401.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.456, allocations: 37.09 kB / 401.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.4561, allocations: 81.09 kB / 401.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.4563, allocations: 176.8 kB / 401.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008308/0.4571, allocations: 428.9 kB / 402.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.4572, allocations: 4 kB / 402.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.4572, allocations: 1.312 kB / 402.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.4572, allocations: 0 / 402.3 MB, free: 5.953 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001219/0.4584, allocations: 0.5483 MB / 402.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.4584, allocations: 13.61 kB / 402.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.4586, allocations: 39.44 kB / 402.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.459, allocations: 231.5 kB / 403.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.459, allocations: 18.44 kB / 403.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.4591, allocations: 26.3 kB / 403.2 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.4598, allocations: 294.2 kB / 403.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.4598, allocations: 0 / 403.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.4598, allocations: 11.16 kB / 403.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.4598, allocations: 5.406 kB / 403.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.4603, allocations: 202.9 kB / 403.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.4623, allocations: 1.105 MB / 404.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.4629, allocations: 205.8 kB / 405 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.4632, allocations: 124.1 kB / 405.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.4632, allocations: 2.047 kB / 405.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.4635, allocations: 174.5 kB / 405.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.4635, allocations: 0 / 405.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001763/0.4653, allocations: 435.7 kB / 405.7 MB, free: 3.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.4654, allocations: 136.7 kB / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.4657, allocations: 244.6 kB / 406.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.4657, allocations: 31.73 kB / 406.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.4659, allocations: 174.7 kB / 406.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.4659, allocations: 71 kB / 406.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.466, allocations: 50.75 kB / 406.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4661, allocations: 339 kB / 406.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.4663, allocations: 72.84 kB / 406.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4665, allocations: 117.6 kB / 406.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.4668, allocations: 169.4 kB / 407.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4668, allocations: 0 / 407.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005738/0.4673, allocations: 294.1 kB / 407.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.4674, allocations: 6.344 kB / 407.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4674, allocations: 1.375 kB / 407.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.4678, allocations: 99.25 kB / 407.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.468, allocations: 25.08 kB / 407.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.4705, allocations: 2.032 MB / 409.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.4709, allocations: 28.86 kB / 409.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.4709, allocations: 22.25 kB / 409.6 MB, free: 0.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.4711, allocations: 148 kB / 409.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.4711, allocations: 32.12 kB / 409.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.4712, allocations: 30.83 kB / 409.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4712, allocations: 2.75 kB / 409.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4712, allocations: 2.172 kB / 409.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4712, allocations: 0.7969 kB / 409.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4724, allocations: 0.7423 MB / 410.5 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4724, allocations: 0 / 410.5 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.4725, allocations: 26.11 kB / 410.6 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000337/0.4728, allocations: 91.09 kB / 410.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.4729, allocations: 1.891 kB / 410.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/0.4762, allocations: 2.04 MB / 412.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4762, allocations: 0 / 412.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009366/0.4772, allocations: 446.2 kB / 413.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.4774, allocations: 50.61 kB / 413.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.4774, allocations: 9.656 kB / 413.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.4776, allocations: 18.39 kB / 413.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.4778, allocations: 35.7 kB / 413.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.4779, allocations: 5.047 kB / 413.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.4781, allocations: 174.4 kB / 413.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4781, allocations: 0 / 413.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006097/0.4787, allocations: 96.88 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.479, allocations: 110.1 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.4801, allocations: 345.4 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4801, allocations: 5.125 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006248/0.4807, allocations: 260 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.4812, allocations: 54.19 kB / 414.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.483, allocations: 0.6016 MB / 414.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/0.4839, allocations: 0.7642 MB / 415.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.4841, allocations: 16.92 kB / 415.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.4841, allocations: 23.77 kB / 415.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4841, allocations: 0 / 415.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of Templates: time 0.01389/0.498, allocations: 5.12 MB / 420.8 MB, free: 9.578 MB / 334.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.498176555149257]