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.000927/0.000927, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002147, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007045/0.0007045, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009981/0.001703, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9587/0.9587, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0764/1.035, allocations: 53.65 MB / 243.4 MB, free: 15.52 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.403e-06/1.403e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.555e-05, allocations: 5.969 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003008/0.003023, allocations: 2.986 MB / 247.7 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.004098, allocations: 0.8175 MB / 248.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.00421, allocations: 4 kB / 248.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.749e-05/0.004297, allocations: 51.5 kB / 248.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.00443, allocations: 107 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.004639, allocations: 123.7 kB / 248.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.004968, allocations: 422.1 kB / 249.2 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.005118, allocations: 90.3 kB / 249.3 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.005426, allocations: 275.8 kB / 249.6 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.005579, allocations: 123.7 kB / 249.7 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.005616, allocations: 36 kB / 249.7 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.005692, allocations: 40 kB / 249.8 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.005734, allocations: 59.81 kB / 249.8 MB, free: 9.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.774e-05/0.005811, allocations: 103.8 kB / 249.9 MB, free: 8.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.006061, allocations: 255.1 kB / 250.2 MB, free: 8.727 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.00607, allocations: 0 / 250.2 MB, free: 8.727 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006071, allocations: 4 kB / 250.2 MB, free: 8.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.006081, allocations: 0 / 250.2 MB, free: 8.723 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.0007234/0.006804, allocations: 0.5902 MB / 250.8 MB, free: 8.105 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.006836, allocations: 12.03 kB / 250.8 MB, free: 8.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.00701, allocations: 130 kB / 250.9 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.007267, allocations: 206 kB / 251.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.007286, allocations: 16.88 kB / 251.1 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.007324, allocations: 28.38 kB / 251.2 MB, free: 7.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.007605, allocations: 272.2 kB / 251.4 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.007614, allocations: 192 / 251.4 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.007636, allocations: 12.38 kB / 251.4 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.007645, allocations: 7.938 kB / 251.4 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.007771, allocations: 71.45 kB / 251.5 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009445/0.008716, allocations: 0.7792 MB / 252.3 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.008979, allocations: 149.1 kB / 252.4 MB, free: 6.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.009113, allocations: 80.81 kB / 252.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.009132, allocations: 7.938 kB / 252.5 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.009299, allocations: 182.1 kB / 252.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.009301, allocations: 0 / 252.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006718/0.009972, allocations: 293.1 kB / 253 MB, free: 5.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.01001, allocations: 85.09 kB / 253.1 MB, free: 5.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.01016, allocations: 213 kB / 253.3 MB, free: 5.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.01018, allocations: 29.7 kB / 253.3 MB, free: 5.363 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.01025, allocations: 156.6 kB / 253.5 MB, free: 5.207 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.0103, allocations: 79.36 kB / 253.5 MB, free: 5.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.01037, allocations: 49.62 kB / 253.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.01046, allocations: 342.7 kB / 253.9 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.0105, allocations: 23.98 kB / 253.9 MB, free: 4.707 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.749e-05/0.01059, allocations: 128.5 kB / 254.1 MB, free: 4.551 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.0107, allocations: 93.94 kB / 254.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.0107, allocations: 0 / 254.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002051/0.01091, allocations: 158.3 kB / 254.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.01092, allocations: 8 kB / 254.3 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01093, allocations: 4.125 kB / 254.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/0.01112, allocations: 56.75 kB / 254.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01124, allocations: 44.56 kB / 254.4 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.01245, allocations: 1.628 MB / 256.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.01255, allocations: 31.83 kB / 256.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.01256, allocations: 4 kB / 256.1 MB, free: 2.422 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 8.947e-05/0.01265, allocations: 133.7 kB / 256.2 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.01268, allocations: 19.98 kB / 256.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.01272, allocations: 34.27 kB / 256.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01272, allocations: 8.016 kB / 256.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01272, allocations: 0 / 256.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01273, allocations: 4 kB / 256.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.01316, allocations: 451.8 kB / 256.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01316, allocations: 0 / 256.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.01325, allocations: 27.86 kB / 256.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.0133, allocations: 31.78 kB / 256.8 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.01345, allocations: 64.86 kB / 256.9 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01347, allocations: 4 kB / 256.9 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.01459, allocations: 1.615 MB / 258.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.0146, allocations: 3.938 kB / 258.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.01485, allocations: 276.9 kB / 258.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01488, allocations: 12.06 kB / 258.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.01502, allocations: 15.98 kB / 258.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.01509, allocations: 35.94 kB / 258.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.0151, allocations: 4 kB / 258.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.569e-05/0.01517, allocations: 70.78 kB / 258.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01517, allocations: 0 / 258.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.01552, allocations: 95.78 kB / 259 MB, free: 15.39 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 8.834e-05/0.01561, allocations: 88.36 kB / 259.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.01594, allocations: 270.8 kB / 259.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.01595, allocations: 4 kB / 259.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.01618, allocations: 243 kB / 259.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.01662, allocations: 0.6127 MB / 260.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.01968, allocations: 0.556 MB / 260.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.629e-05/0.01975, allocations: 96.23 kB / 260.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.405e-05/0.01982, allocations: 22.28 kB / 260.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.01997, allocations: 99.34 kB / 260.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01997, allocations: 0 / 260.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of Templates: time 0.00862/0.02859, allocations: 5.224 MB / 266.2 MB, free: 8.09 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.614033288322389]