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.0009224/0.0009224, allocations: 80.8 kB / 22.29 MB, free: 2.199 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.0009486/0.0009486, allocations: 163.9 kB / 25.7 MB, free: 8.445 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.9632/0.9632, allocations: 158.6 MB / 187.6 MB, free: 2.793 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 1.663e-06/1.663e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.486e-05, allocations: 2.312 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.005796/0.005821, allocations: 3.849 MB / 255.4 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.00845, allocations: 1.033 MB / 256.5 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.008744, allocations: 4 kB / 256.5 MB, free: 2.309 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.008993, allocations: 83.2 kB / 256.5 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.00945, allocations: 182.3 kB / 256.7 MB, free: 2.047 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.01003, allocations: 219.5 kB / 256.9 MB, free: 1.832 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009467/0.01097, allocations: 0.7857 MB / 257.7 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.01231, allocations: 118.2 kB / 257.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008389/0.01315, allocations: 439.1 kB / 258.3 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004741/0.01362, allocations: 259.3 kB / 258.5 MB, free: 244 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.01374, allocations: 76 kB / 258.6 MB, free: 168 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.01384, allocations: 72 kB / 258.7 MB, free: 96 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.01398, allocations: 147.5 kB / 258.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.01425, allocations: 215.5 kB / 259 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.01487, allocations: 0.4983 MB / 259.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.01488, allocations: 0 / 259.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01488, allocations: 0 / 259.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.01489, allocations: 0 / 259.5 MB, free: 15.24 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.001626/0.01651, allocations: 0.8284 MB / 260.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.01657, allocations: 11.98 kB / 260.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.0167, allocations: 68.88 kB / 260.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.01714, allocations: 255.9 kB / 260.7 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.01718, allocations: 33.31 kB / 260.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.01725, allocations: 36.38 kB / 260.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.01795, allocations: 411.5 kB / 261.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.01797, allocations: 3.938 kB / 261.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.018, allocations: 16 kB / 261.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.01802, allocations: 8 kB / 261.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.01832, allocations: 130.8 kB / 261.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.0205, allocations: 1.265 MB / 262.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.02174, allocations: 330.6 kB / 262.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.02198, allocations: 120.7 kB / 263 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.02203, allocations: 12.61 kB / 263 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003661/0.0224, allocations: 225.5 kB / 263.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 2.645e-06/0.0224, allocations: 0 / 263.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.00346/0.02586, allocations: 0.7673 MB / 264 MB, free: 10.56 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.02591, allocations: 89.09 kB / 264.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.02622, allocations: 315.3 kB / 264.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.02626, allocations: 37.64 kB / 264.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.02638, allocations: 193.7 kB / 264.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.0265, allocations: 134.8 kB / 264.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.02664, allocations: 74.03 kB / 264.8 MB, free: 9.688 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.02677, allocations: 350.7 kB / 265.2 MB, free: 9.336 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.02694, allocations: 82.55 kB / 265.2 MB, free: 9.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.02714, allocations: 154 kB / 265.4 MB, free: 9.078 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.02746, allocations: 184.3 kB / 265.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.02746, allocations: 0 / 265.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001496/0.02896, allocations: 441.2 kB / 266 MB, free: 8.434 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.02901, allocations: 37.7 kB / 266 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.02901, allocations: 4 kB / 266.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.02959, allocations: 192 kB / 266.2 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.02993, allocations: 79.94 kB / 266.3 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/0.03354, allocations: 2.004 MB / 268.3 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.0339, allocations: 51.75 kB / 268.4 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.03394, allocations: 15.98 kB / 268.4 MB, free: 5.965 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.000178/0.03412, allocations: 137.8 kB / 268.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.0342, allocations: 35.97 kB / 268.6 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.68e-05/0.03428, allocations: 56.23 kB / 268.6 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.03429, allocations: 4 kB / 268.6 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.03429, allocations: 0 / 268.6 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.03429, allocations: 0 / 268.6 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.03472, allocations: 281.9 kB / 268.9 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.03473, allocations: 0 / 268.9 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.03503, allocations: 67.95 kB / 269 MB, free: 5.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/0.03556, allocations: 188.5 kB / 269.1 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.0356, allocations: 11.98 kB / 269.2 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.03892, allocations: 2.004 MB / 271.2 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.03892, allocations: 4 kB / 271.2 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.04019, allocations: 442.4 kB / 271.6 MB, free: 2.625 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.04035, allocations: 51.64 kB / 271.6 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.04042, allocations: 15.94 kB / 271.7 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.04069, allocations: 39.97 kB / 271.7 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.04082, allocations: 47.91 kB / 271.7 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.04086, allocations: 11.98 kB / 271.8 MB, free: 2.461 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.04102, allocations: 132.7 kB / 271.9 MB, free: 2.328 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04102, allocations: 0 / 271.9 MB, free: 2.328 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005712/0.0416, allocations: 167.8 kB / 272 MB, free: 2.164 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.0001639/0.04176, allocations: 92.3 kB / 272.1 MB, free: 2.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009599/0.04272, allocations: 483.9 kB / 272.6 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.04273, allocations: 4.062 kB / 272.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006016/0.04333, allocations: 346.7 kB / 273 MB, free: 1.203 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.04367, allocations: 89.45 kB / 273 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.04581, allocations: 0.877 MB / 273.9 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.04594, allocations: 125.8 kB / 274 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.04613, allocations: 35.28 kB / 274.1 MB, free: 32 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.0464, allocations: 127.3 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.0464, allocations: 3.938 kB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of Templates: time 0.02064/0.06704, allocations: 12.47 MB / 286.7 MB, free: 3.43 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 -s gbode -gbm=radauIIA3 -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.4259526170790195]