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.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.0008209/0.0008209, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009379/0.0009379, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.8892/0.8892, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.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: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.274e-05, allocations: 5.406 kB / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002915/0.002928, allocations: 2.896 MB / 253.9 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.004031, allocations: 0.7565 MB / 254.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.004149, allocations: 11.94 kB / 254.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.004286, allocations: 47.5 kB / 254.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.00444, allocations: 103.1 kB / 254.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.004715, allocations: 115.6 kB / 255 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.005028, allocations: 425.9 kB / 255.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.005201, allocations: 87.69 kB / 255.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.00542, allocations: 227.5 kB / 255.7 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.005581, allocations: 123.6 kB / 255.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.005622, allocations: 40 kB / 255.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.841e-05/0.005661, allocations: 36 kB / 255.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.005718, allocations: 83.72 kB / 256 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.005813, allocations: 115.8 kB / 256.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.006082, allocations: 275 kB / 256.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006085, allocations: 0 / 256.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006085, allocations: 0 / 256.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.006091, allocations: 0 / 256.4 MB, free: 14.25 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007342/0.006825, allocations: 0.6488 MB / 257 MB, free: 13.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.006863, allocations: 11.98 kB / 257 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.006943, allocations: 56.7 kB / 257.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.007181, allocations: 228.1 kB / 257.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.007199, allocations: 20.88 kB / 257.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.007243, allocations: 28.31 kB / 257.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.007875, allocations: 288.8 kB / 257.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.007884, allocations: 192 / 257.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.007907, allocations: 12.36 kB / 257.6 MB, free: 12.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.007918, allocations: 11.94 kB / 257.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.008093, allocations: 102.9 kB / 257.7 MB, free: 12.76 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.009095, allocations: 1.088 MB / 258.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.009391, allocations: 167.2 kB / 259 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.009553, allocations: 103.5 kB / 259.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.009574, allocations: 7.938 kB / 259.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.009743, allocations: 199.2 kB / 259.3 MB, free: 11.08 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.009745, allocations: 0 / 259.3 MB, free: 11.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.000725/0.01047, allocations: 360.8 kB / 259.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.01053, allocations: 136.5 kB / 259.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.01069, allocations: 268.3 kB / 260 MB, free: 10.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.01071, allocations: 29.7 kB / 260.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.0108, allocations: 223.3 kB / 260.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.01084, allocations: 71.42 kB / 260.4 MB, free: 9.945 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.01091, allocations: 59.31 kB / 260.4 MB, free: 9.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.01102, allocations: 0.5001 MB / 260.9 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.01108, allocations: 35.97 kB / 261 MB, free: 9.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.01119, allocations: 157.4 kB / 261.1 MB, free: 9.141 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.01133, allocations: 122.6 kB / 261.2 MB, free: 9.004 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01133, allocations: 7.938 kB / 261.2 MB, free: 8.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002499/0.01158, allocations: 213.1 kB / 261.4 MB, free: 8.777 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.0116, allocations: 6.656 kB / 261.5 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.0116, allocations: 0 / 261.5 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.01182, allocations: 75.5 kB / 261.5 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.0119, allocations: 40.02 kB / 261.6 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.01329, allocations: 2.345 MB / 263.9 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/0.01338, allocations: 31.86 kB / 263.9 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.0134, allocations: 4 kB / 263.9 MB, free: 6.16 MB / 250.7 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 9.722e-05/0.01349, allocations: 180.5 kB / 264.1 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.01352, allocations: 31.86 kB / 264.2 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.01355, allocations: 26.28 kB / 264.2 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01356, allocations: 7.984 kB / 264.2 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01356, allocations: 0 / 264.2 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01356, allocations: 7.938 kB / 264.2 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007987/0.01436, allocations: 0.6757 MB / 264.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01437, allocations: 0 / 264.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.01443, allocations: 19.98 kB / 264.9 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.01458, allocations: 71.69 kB / 265 MB, free: 5.074 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.01459, allocations: 7.984 kB / 265 MB, free: 5.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.0159, allocations: 2.361 MB / 267.3 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0159, allocations: 0 / 267.3 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.01624, allocations: 392.5 kB / 267.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.0163, allocations: 51.77 kB / 267.8 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.01632, allocations: 8.109 kB / 267.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.01641, allocations: 19.92 kB / 267.8 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.01648, allocations: 32 kB / 267.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.01649, allocations: 7.938 kB / 267.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.419e-05/0.01659, allocations: 197.1 kB / 268 MB, free: 1.863 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01659, allocations: 4 kB / 268 MB, free: 1.859 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.01686, allocations: 91.84 kB / 268.1 MB, free: 1.77 MB / 250.7 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 8.742e-05/0.01695, allocations: 107.2 kB / 268.2 MB, free: 1.656 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.01735, allocations: 352 kB / 268.6 MB, free: 1.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01735, allocations: 0 / 268.6 MB, free: 1.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.01757, allocations: 297.4 kB / 268.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.01782, allocations: 56.86 kB / 268.9 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.01874, allocations: 0.5573 MB / 269.5 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.839e-05/0.0188, allocations: 88.31 kB / 269.6 MB, free: 236 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.414e-05/0.01885, allocations: 18.3 kB / 269.6 MB, free: 220 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.01889, allocations: 24.48 kB / 269.6 MB, free: 196 kB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01889, allocations: 0 / 269.6 MB, free: 196 kB / 250.7 MB Notification: Performance of Templates: time 0.006319/0.02521, allocations: 4.629 MB / 274.2 MB, free: 11.59 MB / 266.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9970361348241568]