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.001142/0.001142, allocations: 85.08 kB / 23 MB, free: 1.5 MB / 18.57 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.001205/0.001205, allocations: 177 kB / 26.39 MB, free: 7.758 MB / 18.57 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.8795/0.8795, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.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 4.598e-06/4.598e-06, allocations: 7.984 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/2.178e-05, allocations: 6.25 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.006294/0.006316, allocations: 3.798 MB / 256.1 MB, free: 3.422 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.008099, allocations: 0.9982 MB / 257.1 MB, free: 2.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.008285, allocations: 7.938 kB / 257.1 MB, free: 2.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.008486, allocations: 83.2 kB / 257.1 MB, free: 2.328 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.008731, allocations: 178.4 kB / 257.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.009174, allocations: 223.5 kB / 257.5 MB, free: 1.934 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.009814, allocations: 0.778 MB / 258.3 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.01002, allocations: 109.5 kB / 258.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004532/0.01048, allocations: 447 kB / 258.9 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.01075, allocations: 259.2 kB / 259.1 MB, free: 356 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.01082, allocations: 72 kB / 259.2 MB, free: 284 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.01089, allocations: 80 kB / 259.3 MB, free: 204 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.447e-05/0.01099, allocations: 147.5 kB / 259.4 MB, free: 56 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.01116, allocations: 219.6 kB / 259.6 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.01162, allocations: 498.4 kB / 260.1 MB, free: 15.35 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.01163, allocations: 0 / 260.1 MB, free: 15.35 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01163, allocations: 0 / 260.1 MB, free: 15.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.01164, allocations: 0 / 260.1 MB, free: 15.35 MB / 250.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.001345/0.01298, allocations: 0.9609 MB / 261.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.01302, allocations: 11.98 kB / 261.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.01314, allocations: 88.56 kB / 261.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.01349, allocations: 330.6 kB / 261.5 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.01352, allocations: 29.38 kB / 261.5 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.01357, allocations: 44.3 kB / 261.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005593/0.01413, allocations: 429.6 kB / 262 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.01415, allocations: 3.938 kB / 262 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.01418, allocations: 12 kB / 262 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01419, allocations: 8 kB / 262 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.01443, allocations: 150.8 kB / 262.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.01625, allocations: 1.72 MB / 263.9 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/0.01719, allocations: 363.4 kB / 264.2 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.01738, allocations: 131.5 kB / 264.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.01741, allocations: 16.62 kB / 264.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.01767, allocations: 228.8 kB / 264.6 MB, free: 10.63 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.552e-06/0.01767, allocations: 0 / 264.6 MB, free: 10.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.002595/0.02027, allocations: 0.848 MB / 265.4 MB, free: 9.773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.02031, allocations: 89.09 kB / 265.5 MB, free: 9.668 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.02055, allocations: 378.5 kB / 265.9 MB, free: 9.285 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.02059, allocations: 37.7 kB / 265.9 MB, free: 9.242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.02072, allocations: 275.5 kB / 266.2 MB, free: 8.969 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/0.02081, allocations: 134.8 kB / 266.3 MB, free: 8.836 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.02093, allocations: 79.67 kB / 266.4 MB, free: 8.746 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.02109, allocations: 0.5234 MB / 266.9 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.02121, allocations: 82.53 kB / 267 MB, free: 8.125 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.02136, allocations: 174.4 kB / 267.2 MB, free: 7.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.0216, allocations: 191.3 kB / 267.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.0216, allocations: 0 / 267.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001161/0.02276, allocations: 0.5109 MB / 267.9 MB, free: 7.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.0228, allocations: 29.7 kB / 267.9 MB, free: 7.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.0228, allocations: 3.938 kB / 267.9 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.02322, allocations: 199.4 kB / 268.1 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.02341, allocations: 71.95 kB / 268.2 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.02629, allocations: 2.735 MB / 270.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.0265, allocations: 55.81 kB / 271 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.02653, allocations: 15.92 kB / 271 MB, free: 3.977 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.0001309/0.02666, allocations: 176.5 kB / 271.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.02672, allocations: 55.77 kB / 271.2 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.02678, allocations: 60.19 kB / 271.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.02679, allocations: 4 kB / 271.3 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.02679, allocations: 48 / 271.3 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.0268, allocations: 7.969 kB / 271.3 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.02711, allocations: 313.2 kB / 271.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.02712, allocations: 0 / 271.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.02729, allocations: 63.89 kB / 271.7 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003706/0.02766, allocations: 195.5 kB / 271.8 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.02769, allocations: 11.98 kB / 271.9 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/0.03071, allocations: 2.712 MB / 274.6 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.03071, allocations: 0 / 274.6 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009653/0.03167, allocations: 0.5119 MB / 275.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.03179, allocations: 91.72 kB / 275.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.03183, allocations: 15.94 kB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.03201, allocations: 39.97 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.0321, allocations: 51.91 kB / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.03213, allocations: 11.98 kB / 275.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.03226, allocations: 255 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03226, allocations: 0 / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003575/0.03261, allocations: 159.8 kB / 275.7 MB, free: 15.09 MB / 266.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.0001214/0.03274, allocations: 110.6 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006857/0.03342, allocations: 0.5718 MB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.03342, allocations: 0 / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.03383, allocations: 408.9 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.03411, allocations: 81.27 kB / 276.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.03558, allocations: 0.9334 MB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.03566, allocations: 121.8 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.03578, allocations: 39.27 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.03597, allocations: 150.1 kB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03597, allocations: 0 / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of Templates: time 0.01417/0.05014, allocations: 12.86 MB / 291 MB, free: 15.73 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5511389980092645]