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.001658/0.001658, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001685/0.001685, allocations: 166.4 kB / 25.02 MB, free: 8.945 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 1.515/1.515, allocations: 158.6 MB / 186.8 MB, free: 2.934 MB / 170.7 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.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 2.274e-06/2.274e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.248e-05/4.475e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.007728/0.007773, allocations: 3.529 MB / 253.9 MB, free: 4.262 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.01088, allocations: 0.9904 MB / 254.9 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007721/0.01165, allocations: 7.938 kB / 254.9 MB, free: 3.258 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.01214, allocations: 91.14 kB / 255 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008882/0.01302, allocations: 178.4 kB / 255.2 MB, free: 2.992 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008922/0.01392, allocations: 211.6 kB / 255.4 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.01543, allocations: 0.7896 MB / 256.2 MB, free: 1.992 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003962/0.01582, allocations: 113.5 kB / 256.3 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009442/0.01677, allocations: 427.1 kB / 256.7 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.0173, allocations: 267.3 kB / 256.9 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.01743, allocations: 76 kB / 257 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.01757, allocations: 76 kB / 257.1 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.01776, allocations: 147.5 kB / 257.2 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.01809, allocations: 223.5 kB / 257.5 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.01935, allocations: 0.8568 MB / 258.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.01936, allocations: 0 / 258.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.01936, allocations: 0 / 258.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.01938, allocations: 0 / 258.3 MB, free: 15.82 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.003615/0.02299, allocations: 0.9196 MB / 259.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.02306, allocations: 11.98 kB / 259.2 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.02335, allocations: 92.59 kB / 259.3 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.02468, allocations: 343.7 kB / 259.7 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.02473, allocations: 33.38 kB / 259.7 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.02484, allocations: 36.38 kB / 259.7 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.02647, allocations: 0.5808 MB / 260.3 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.02649, allocations: 7.938 kB / 260.3 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.02656, allocations: 15.98 kB / 260.3 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.02658, allocations: 12 kB / 260.4 MB, free: 13.69 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.02844, allocations: 0.5738 MB / 260.9 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/0.03269, allocations: 1.772 MB / 262.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.03686, allocations: 0.7525 MB / 263.5 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.03797, allocations: 336.7 kB / 263.8 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.03802, allocations: 8.625 kB / 263.8 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/0.03924, allocations: 417.4 kB / 264.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 3.116e-06/0.03924, allocations: 0 / 264.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.01128/0.05052, allocations: 1.723 MB / 265.9 MB, free: 8.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.05062, allocations: 89.05 kB / 266 MB, free: 7.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.05126, allocations: 369.6 kB / 266.4 MB, free: 7.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.05136, allocations: 41.7 kB / 266.4 MB, free: 7.48 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.05164, allocations: 236.8 kB / 266.6 MB, free: 7.246 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.05183, allocations: 126.9 kB / 266.8 MB, free: 7.121 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.05201, allocations: 74.06 kB / 266.8 MB, free: 7.039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.05225, allocations: 354.7 kB / 267.2 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009886/0.05324, allocations: 294.4 kB / 267.5 MB, free: 6.391 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.05424, allocations: 361.9 kB / 267.8 MB, free: 6.016 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.05611, allocations: 0.5522 MB / 268.4 MB, free: 5.449 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.05612, allocations: 0 / 268.4 MB, free: 5.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005446/0.06156, allocations: 1.086 MB / 269.5 MB, free: 4.344 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.06164, allocations: 37.64 kB / 269.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.06165, allocations: 4 kB / 269.5 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.0631, allocations: 408.4 kB / 269.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.06363, allocations: 75.88 kB / 270 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.07391, allocations: 3.484 MB / 273.5 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/0.07472, allocations: 83.75 kB / 273.5 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.07477, allocations: 16 kB / 273.6 MB, free: 144 kB / 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.0003998/0.07517, allocations: 165.8 kB / 273.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.07535, allocations: 55.72 kB / 273.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.07549, allocations: 60.23 kB / 273.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.0755, allocations: 4 kB / 273.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.07551, allocations: 3.938 kB / 273.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.07551, allocations: 0 / 273.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007121/0.07622, allocations: 413.4 kB / 274.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.07623, allocations: 0 / 274.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.07671, allocations: 79.88 kB / 274.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.07802, allocations: 388.5 kB / 274.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.07808, allocations: 15.98 kB / 274.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009589/0.08767, allocations: 3.481 MB / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.08767, allocations: 0 / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/0.09283, allocations: 1.267 MB / 279.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.09322, allocations: 95.69 kB / 279.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.09329, allocations: 4 kB / 279.6 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.09388, allocations: 67.92 kB / 279.6 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.0941, allocations: 47.91 kB / 279.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.09415, allocations: 12 kB / 279.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003939/0.09454, allocations: 267.2 kB / 279.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09454, allocations: 0 / 279.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008233/0.09537, allocations: 175.7 kB / 280.1 MB, free: 9.414 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.0005535/0.09592, allocations: 110.6 kB / 280.2 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002996/0.09892, allocations: 0.8958 MB / 281.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.09892, allocations: 4 kB / 281.1 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.1006, allocations: 0.5214 MB / 281.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.1012, allocations: 93.5 kB / 281.7 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.1048, allocations: 1.084 MB / 282.8 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1051, allocations: 228.3 kB / 283 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.1054, allocations: 39.28 kB / 283.1 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1055, allocations: 36.44 kB / 283.1 MB, free: 6.312 MB / 266.7 MB Notification: Performance of SimCode: time 1.804e-06/0.1055, allocations: 4 kB / 283.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of Templates: time 0.02597/0.1314, allocations: 12.54 MB / 295.7 MB, free: 9.785 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.896723016048782]