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.002005/0.002005, allocations: 99.53 kB / 21.73 MB, free: 2.684 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.002045/0.002045, allocations: 167 kB / 25.03 MB, free: 8.926 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.455/1.455, allocations: 158.6 MB / 186.8 MB, free: 2.898 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.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 2.234e-06/2.234e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.274e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.007063/0.007095, allocations: 2.848 MB / 253.2 MB, free: 4.953 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.009652, allocations: 0.7565 MB / 254 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.0099, allocations: 7.938 kB / 254 MB, free: 4.18 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.01015, allocations: 47.5 kB / 254 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.01054, allocations: 103.1 kB / 254.1 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.01108, allocations: 111.7 kB / 254.2 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.01221, allocations: 425.9 kB / 254.7 MB, free: 3.504 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.01257, allocations: 95.61 kB / 254.7 MB, free: 3.406 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006015/0.01317, allocations: 231.5 kB / 255 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.01356, allocations: 119.7 kB / 255.1 MB, free: 3.062 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.01369, allocations: 40 kB / 255.1 MB, free: 3.023 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.0138, allocations: 36 kB / 255.2 MB, free: 2.988 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.01396, allocations: 79.67 kB / 255.2 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.01425, allocations: 123.7 kB / 255.4 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009543/0.0152, allocations: 450.6 kB / 255.8 MB, free: 2.348 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.01521, allocations: 4 kB / 255.8 MB, free: 2.344 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01521, allocations: 0 / 255.8 MB, free: 2.344 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.01522, allocations: 0 / 255.8 MB, free: 2.344 MB / 234.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.001883/0.0171, allocations: 0.6719 MB / 256.5 MB, free: 1.633 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.01716, allocations: 11.98 kB / 256.5 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.01737, allocations: 64.7 kB / 256.6 MB, free: 1.559 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006687/0.01804, allocations: 220.1 kB / 256.8 MB, free: 1.316 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.01809, allocations: 20.81 kB / 256.8 MB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.932e-05/0.01818, allocations: 24.38 kB / 256.8 MB, free: 1.27 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.01927, allocations: 360.1 kB / 257.2 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.01929, allocations: 192 / 257.2 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.01934, allocations: 8.375 kB / 257.2 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.01936, allocations: 11.94 kB / 257.2 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.0201, allocations: 197.9 kB / 257.4 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.02361, allocations: 1.224 MB / 258.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009944/0.0246, allocations: 215.2 kB / 258.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.02518, allocations: 127.6 kB / 258.9 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.297e-05/0.02524, allocations: 11.88 kB / 258.9 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006543/0.02589, allocations: 239.1 kB / 259.2 MB, free: 14.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 2.995e-06/0.02589, allocations: 0 / 259.2 MB, free: 14.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.002667/0.02856, allocations: 452.8 kB / 259.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.02874, allocations: 136.5 kB / 259.8 MB, free: 14.13 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.0294, allocations: 320.3 kB / 260.1 MB, free: 13.8 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.02945, allocations: 25.7 kB / 260.1 MB, free: 13.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.02978, allocations: 239.3 kB / 260.3 MB, free: 13.53 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.02994, allocations: 71.44 kB / 260.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.03018, allocations: 67.31 kB / 260.5 MB, free: 13.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004739/0.03065, allocations: 0.5197 MB / 261 MB, free: 12.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.03098, allocations: 71.97 kB / 261.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.03149, allocations: 193.4 kB / 261.2 MB, free: 12.55 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.03212, allocations: 186.5 kB / 261.4 MB, free: 12.36 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.03213, allocations: 4 kB / 261.4 MB, free: 12.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001153/0.03328, allocations: 289.2 kB / 261.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.03331, allocations: 8 kB / 261.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.03332, allocations: 0 / 261.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/0.03401, allocations: 107.5 kB / 261.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.03429, allocations: 27.92 kB / 261.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.03978, allocations: 2.63 MB / 264.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.04017, allocations: 31.81 kB / 264.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.04021, allocations: 8 kB / 264.5 MB, free: 9.125 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 0.0003713/0.04058, allocations: 196.5 kB / 264.7 MB, free: 8.922 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.04071, allocations: 31.86 kB / 264.7 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.04083, allocations: 34.3 kB / 264.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.04084, allocations: 4 kB / 264.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.04084, allocations: 0 / 264.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.04086, allocations: 7.938 kB / 264.8 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.04295, allocations: 0.7968 MB / 265.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.04296, allocations: 0 / 265.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.04317, allocations: 19.98 kB / 265.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005407/0.04371, allocations: 95.67 kB / 265.7 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.04374, allocations: 4 kB / 265.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004957/0.0487, allocations: 2.638 MB / 268.3 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.0487, allocations: 0 / 268.3 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.05048, allocations: 0.5044 MB / 268.8 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.0507, allocations: 39.83 kB / 268.9 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.05079, allocations: 8 kB / 268.9 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.05113, allocations: 16.09 kB / 268.9 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.05133, allocations: 39.88 kB / 268.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.05137, allocations: 11.94 kB / 269 MB, free: 4.473 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004376/0.05181, allocations: 221.1 kB / 269.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.05181, allocations: 0 / 269.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009627/0.05277, allocations: 95.78 kB / 269.3 MB, free: 4.164 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 0.0003023/0.05307, allocations: 119 kB / 269.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.0546, allocations: 420 kB / 269.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.05461, allocations: 0 / 269.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000861/0.05547, allocations: 341.5 kB / 270.1 MB, free: 3.258 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.05627, allocations: 56.97 kB / 270.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.05877, allocations: 0.5652 MB / 270.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.05911, allocations: 162.8 kB / 270.9 MB, free: 2.422 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.05929, allocations: 22.28 kB / 270.9 MB, free: 2.402 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-05/0.05938, allocations: 20.5 kB / 270.9 MB, free: 2.383 MB / 250.7 MB Notification: Performance of SimCode: time 2.645e-06/0.05939, allocations: 0 / 270.9 MB, free: 2.383 MB / 250.7 MB Notification: Performance of Templates: time 0.02026/0.07965, allocations: 4.617 MB / 275.6 MB, free: 13.8 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.0258806750644]