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.0009718/0.0009718, allocations: 76.81 kB / 22.28 MB, free: 2.203 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.001136/0.001136, allocations: 167.6 kB / 25.7 MB, free: 8.43 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.8804/0.8804, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.363e-06/1.363e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.519e-05, allocations: 2.312 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004878/0.004903, allocations: 3.798 MB / 255.3 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.007121, allocations: 1.033 MB / 256.4 MB, free: 2.406 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.007341, allocations: 7.938 kB / 256.4 MB, free: 2.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.007536, allocations: 87.14 kB / 256.5 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.007798, allocations: 182.4 kB / 256.6 MB, free: 2.133 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.008223, allocations: 215.5 kB / 256.8 MB, free: 1.922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006302/0.008853, allocations: 0.7819 MB / 257.6 MB, free: 1.133 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.009046, allocations: 122.1 kB / 257.7 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000527/0.009573, allocations: 435.1 kB / 258.2 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.009867, allocations: 259.3 kB / 258.4 MB, free: 336 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.493e-05/0.009952, allocations: 72 kB / 258.5 MB, free: 264 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.01002, allocations: 72 kB / 258.6 MB, free: 192 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.01011, allocations: 155.4 kB / 258.7 MB, free: 36 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.01029, allocations: 219.5 kB / 258.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.0107, allocations: 0.4905 MB / 259.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01071, allocations: 0 / 259.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01071, allocations: 0 / 259.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.01072, allocations: 0 / 259.4 MB, free: 15.33 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.001111/0.01183, allocations: 0.8245 MB / 260.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.01186, allocations: 15.98 kB / 260.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.533e-05/0.01196, allocations: 68.88 kB / 260.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.01226, allocations: 255.9 kB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.01228, allocations: 29.38 kB / 260.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.01233, allocations: 36.38 kB / 260.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004844/0.01282, allocations: 423.4 kB / 261.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.01283, allocations: 3.938 kB / 261.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.01286, allocations: 12 kB / 261.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.01286, allocations: 8 kB / 261.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.01306, allocations: 134.8 kB / 261.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.01455, allocations: 1.265 MB / 262.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.01533, allocations: 330.5 kB / 262.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.01548, allocations: 120.7 kB / 262.9 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.01551, allocations: 12.61 kB / 262.9 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.01572, allocations: 221.5 kB / 263.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.433e-06/0.01572, allocations: 0 / 263.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.002091/0.01781, allocations: 0.7713 MB / 263.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.01786, allocations: 85.09 kB / 264 MB, free: 10.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.01804, allocations: 319.3 kB / 264.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.01808, allocations: 33.7 kB / 264.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.01816, allocations: 197.7 kB / 264.5 MB, free: 9.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.01824, allocations: 130.8 kB / 264.7 MB, free: 9.852 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.01833, allocations: 70.03 kB / 264.7 MB, free: 9.773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.01842, allocations: 354.7 kB / 265.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.01852, allocations: 82.55 kB / 265.2 MB, free: 9.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.01864, allocations: 150 kB / 265.3 MB, free: 9.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.01885, allocations: 189.6 kB / 265.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01885, allocations: 0 / 265.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008868/0.01974, allocations: 440.6 kB / 265.9 MB, free: 8.516 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.01977, allocations: 33.7 kB / 266 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01978, allocations: 0 / 266 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.02015, allocations: 196.4 kB / 266.1 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.02032, allocations: 67.89 kB / 266.2 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.02254, allocations: 2.001 MB / 268.2 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.02274, allocations: 59.75 kB / 268.3 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.02276, allocations: 11.98 kB / 268.3 MB, free: 6.059 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.0001183/0.02288, allocations: 133.7 kB / 268.4 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.02293, allocations: 35.97 kB / 268.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.02298, allocations: 60.23 kB / 268.5 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.02298, allocations: 4 kB / 268.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.02299, allocations: 0 / 268.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02299, allocations: 0 / 268.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.02326, allocations: 285.9 kB / 268.8 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02326, allocations: 0 / 268.8 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.02341, allocations: 55.95 kB / 268.8 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/0.02375, allocations: 196.4 kB / 269 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.02378, allocations: 11.98 kB / 269.1 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.02583, allocations: 1.985 MB / 271 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.02583, allocations: 0 / 271 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.0266, allocations: 446.4 kB / 271.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.0267, allocations: 51.72 kB / 271.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.02674, allocations: 12 kB / 271.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.0269, allocations: 43.89 kB / 271.6 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.02699, allocations: 51.91 kB / 271.6 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.02701, allocations: 11.98 kB / 271.6 MB, free: 2.566 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.217e-05/0.0271, allocations: 128.7 kB / 271.8 MB, free: 2.438 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0271, allocations: 0 / 271.8 MB, free: 2.438 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000346/0.02745, allocations: 163.8 kB / 271.9 MB, free: 2.277 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.0001121/0.02756, allocations: 96.23 kB / 272 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005854/0.02814, allocations: 487.9 kB / 272.5 MB, free: 1.668 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.02815, allocations: 7.938 kB / 272.5 MB, free: 1.66 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.02852, allocations: 346.8 kB / 272.8 MB, free: 1.305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.02874, allocations: 81.33 kB / 272.9 MB, free: 1.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.03029, allocations: 0.8887 MB / 273.8 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.027e-05/0.03037, allocations: 117.8 kB / 273.9 MB, free: 184 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.0305, allocations: 43.27 kB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.03066, allocations: 119.3 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of SimCode: time 1.172e-06/0.03067, allocations: 0 / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of Templates: time 0.01324/0.0439, allocations: 12.43 MB / 286.5 MB, free: 3.582 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 -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.1312115089967847]