Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007488/0.0007488, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.001984, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007856/0.0007856, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001789, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9433/0.9433, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08734/1.031, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.961e-05, allocations: 6.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003414/0.003433, allocations: 2.978 MB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004756, allocations: 0.8136 MB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.004893, allocations: 7.938 kB / 248.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.005, allocations: 59.44 kB / 248.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.00517, allocations: 99.06 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.005413, allocations: 115.7 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.005779, allocations: 426.1 kB / 249 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.005944, allocations: 86.3 kB / 249.1 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.006287, allocations: 283.8 kB / 249.4 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.008524, allocations: 123.6 kB / 249.5 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.008565, allocations: 40 kB / 249.6 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.468e-05/0.008649, allocations: 40 kB / 249.6 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/0.008688, allocations: 55.81 kB / 249.6 MB, free: 9.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.327e-05/0.008772, allocations: 107.8 kB / 249.8 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.009037, allocations: 251.1 kB / 250 MB, free: 8.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.009053, allocations: 4 kB / 250 MB, free: 8.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.009054, allocations: 0 / 250 MB, free: 8.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.009069, allocations: 0 / 250 MB, free: 8.816 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.0009946/0.01006, allocations: 0.5941 MB / 250.6 MB, free: 8.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.01009, allocations: 8.031 kB / 250.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.01025, allocations: 130 kB / 250.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.01046, allocations: 194.1 kB / 250.9 MB, free: 7.828 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.01048, allocations: 16.88 kB / 250.9 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.01051, allocations: 28.31 kB / 251 MB, free: 7.785 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.01074, allocations: 276.2 kB / 251.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.01075, allocations: 192 / 251.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.01077, allocations: 12.38 kB / 251.2 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.01078, allocations: 7.938 kB / 251.3 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.01087, allocations: 75.41 kB / 251.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.01168, allocations: 0.7831 MB / 252.1 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.01192, allocations: 138.5 kB / 252.2 MB, free: 6.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.01203, allocations: 76.81 kB / 252.3 MB, free: 6.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.01205, allocations: 11.94 kB / 252.3 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.01222, allocations: 178.1 kB / 252.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.01222, allocations: 0 / 252.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005999/0.01282, allocations: 309.1 kB / 252.8 MB, free: 5.816 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.01286, allocations: 77.11 kB / 252.9 MB, free: 5.723 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.01302, allocations: 217 kB / 253.1 MB, free: 5.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.01305, allocations: 29.7 kB / 253.1 MB, free: 5.465 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.01314, allocations: 164.5 kB / 253.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.0132, allocations: 71.38 kB / 253.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.01327, allocations: 49.67 kB / 253.4 MB, free: 5.176 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.01336, allocations: 342.7 kB / 253.7 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.0134, allocations: 23.98 kB / 253.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.01347, allocations: 120.5 kB / 253.9 MB, free: 4.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.419e-05/0.01356, allocations: 97.95 kB / 254 MB, free: 4.555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01356, allocations: 0 / 254 MB, free: 4.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002361/0.0138, allocations: 162.3 kB / 254.1 MB, free: 4.387 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.01382, allocations: 11.59 kB / 254.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01383, allocations: 0 / 254.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.01405, allocations: 60.8 kB / 254.2 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.01421, allocations: 36.73 kB / 254.2 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.01567, allocations: 1.622 MB / 255.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.01579, allocations: 31.91 kB / 255.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.01581, allocations: 8 kB / 255.9 MB, free: 2.531 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.000103/0.01591, allocations: 125.8 kB / 256 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.01594, allocations: 27.95 kB / 256 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.01598, allocations: 38.2 kB / 256.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01599, allocations: 0 / 256.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01599, allocations: 0 / 256.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.01599, allocations: 4 kB / 256.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.01651, allocations: 451.8 kB / 256.5 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01651, allocations: 4 kB / 256.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.01662, allocations: 23.98 kB / 256.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.01669, allocations: 35.77 kB / 256.6 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.01686, allocations: 60.73 kB / 256.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01687, allocations: 4 kB / 256.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.01844, allocations: 1.627 MB / 258.3 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01844, allocations: 0 / 258.3 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.01876, allocations: 277.7 kB / 258.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.01879, allocations: 11.92 kB / 258.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.01892, allocations: 12 kB / 258.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.019, allocations: 36 kB / 258.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.01901, allocations: 7.984 kB / 258.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.01909, allocations: 66.8 kB / 258.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01909, allocations: 0 / 258.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004184/0.01951, allocations: 95.84 kB / 258.8 MB, free: 15.5 MB / 266.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.0001101/0.01962, allocations: 80.42 kB / 258.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003904/0.02001, allocations: 289.8 kB / 259.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/0.02002, allocations: 4 kB / 259.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.02027, allocations: 231.1 kB / 259.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.02059, allocations: 72.91 kB / 259.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.02373, allocations: 0.5567 MB / 260 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.813e-05/0.02379, allocations: 92.3 kB / 260.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.02387, allocations: 18.3 kB / 260.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.02398, allocations: 103.3 kB / 260.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02398, allocations: 4 kB / 260.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Templates: time 0.007017/0.03099, allocations: 5.116 MB / 265.3 MB, free: 8.961 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.7079703845083714]