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.0008273/0.0008273, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002242, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007127/0.0007127, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001735, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.878/0.878, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1415/1.02, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.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 1.693e-06/1.693e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.481e-05/3.65e-05, allocations: 5.406 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003627/0.003664, allocations: 2.911 MB / 224.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.004894, allocations: 0.7914 MB / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.005063, allocations: 7.938 kB / 225.7 MB, free: 12.31 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.00519, allocations: 51.45 kB / 225.8 MB, free: 12.26 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.005339, allocations: 107 kB / 225.9 MB, free: 12.16 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.005639, allocations: 103.8 kB / 226 MB, free: 12.05 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.006084, allocations: 426.1 kB / 226.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.00628, allocations: 90.28 kB / 226.5 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.00663, allocations: 264 kB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.006847, allocations: 127.6 kB / 226.8 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.006904, allocations: 40 kB / 226.9 MB, free: 11.12 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.006946, allocations: 36 kB / 226.9 MB, free: 11.09 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.007003, allocations: 59.81 kB / 227 MB, free: 11.03 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.007098, allocations: 103.8 kB / 227.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.007407, allocations: 239.2 kB / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.312e-05/0.00743, allocations: 3.984 kB / 227.3 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.007432, allocations: 0 / 227.3 MB, free: 10.69 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.007452, allocations: 0 / 227.3 MB, free: 10.69 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.000862/0.008314, allocations: 0.594 MB / 227.9 MB, free: 10.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.008352, allocations: 12.02 kB / 227.9 MB, free: 10.06 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.008423, allocations: 44.91 kB / 228 MB, free: 10.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.008669, allocations: 185.2 kB / 228.1 MB, free: 9.812 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.008687, allocations: 20.88 kB / 228.2 MB, free: 9.793 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.008726, allocations: 24.38 kB / 228.2 MB, free: 9.77 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.008982, allocations: 268.2 kB / 228.5 MB, free: 9.477 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.008993, allocations: 12.12 kB / 228.5 MB, free: 9.465 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.009008, allocations: 4.375 kB / 228.5 MB, free: 9.461 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.009017, allocations: 11.94 kB / 228.5 MB, free: 9.449 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.446e-05/0.009112, allocations: 71.45 kB / 228.6 MB, free: 9.383 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007883/0.0099, allocations: 0.7948 MB / 229.3 MB, free: 8.547 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.01014, allocations: 136.6 kB / 229.5 MB, free: 8.406 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.01025, allocations: 72.83 kB / 229.5 MB, free: 8.332 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.01026, allocations: 7.938 kB / 229.6 MB, free: 8.324 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.01042, allocations: 182.1 kB / 229.7 MB, free: 8.109 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.01042, allocations: 0 / 229.7 MB, free: 8.109 MB / 234.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006204/0.01104, allocations: 302 kB / 230 MB, free: 7.805 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.01108, allocations: 81.11 kB / 230.1 MB, free: 7.707 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.01119, allocations: 209 kB / 230.3 MB, free: 7.492 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.01121, allocations: 33.7 kB / 230.3 MB, free: 7.453 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.01128, allocations: 164.4 kB / 230.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.01132, allocations: 79.34 kB / 230.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.01138, allocations: 45.69 kB / 230.6 MB, free: 7.16 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.01147, allocations: 346.7 kB / 231 MB, free: 6.812 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.01151, allocations: 23.94 kB / 231 MB, free: 6.789 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.01161, allocations: 128.5 kB / 231.1 MB, free: 6.633 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.01173, allocations: 103.2 kB / 231.2 MB, free: 6.52 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01173, allocations: 0 / 231.2 MB, free: 6.52 MB / 234.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001782/0.01191, allocations: 154.4 kB / 231.4 MB, free: 6.359 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01192, allocations: 4 kB / 231.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01193, allocations: 4 kB / 231.4 MB, free: 6.352 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.01215, allocations: 64.73 kB / 231.4 MB, free: 6.285 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.01227, allocations: 35.92 kB / 231.5 MB, free: 6.25 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.01341, allocations: 1.622 MB / 233.1 MB, free: 4.531 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.794e-05/0.01351, allocations: 27.88 kB / 233.1 MB, free: 4.504 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01352, allocations: 11.98 kB / 233.1 MB, free: 4.492 MB / 234.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.997e-05/0.01361, allocations: 133.7 kB / 233.3 MB, free: 4.352 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.01364, allocations: 23.97 kB / 233.3 MB, free: 4.328 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.01367, allocations: 26.28 kB / 233.3 MB, free: 4.309 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01367, allocations: 4 kB / 233.3 MB, free: 4.305 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01367, allocations: 0 / 233.3 MB, free: 4.305 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01368, allocations: 3.984 kB / 233.3 MB, free: 4.301 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.01405, allocations: 455.8 kB / 233.8 MB, free: 3.824 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01405, allocations: 3.984 kB / 233.8 MB, free: 3.82 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.343e-05/0.01414, allocations: 31.92 kB / 233.8 MB, free: 3.789 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.01418, allocations: 19.86 kB / 233.8 MB, free: 3.77 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.01432, allocations: 64.77 kB / 233.9 MB, free: 3.703 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.01433, allocations: 8 kB / 233.9 MB, free: 3.695 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.01539, allocations: 1.618 MB / 235.5 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01539, allocations: 4 kB / 235.5 MB, free: 1.988 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.01561, allocations: 278.6 kB / 235.8 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.01563, allocations: 4 kB / 235.8 MB, free: 1.691 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.01571, allocations: 19.98 kB / 235.8 MB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.01578, allocations: 27.94 kB / 235.8 MB, free: 1.645 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.01579, allocations: 8.094 kB / 235.8 MB, free: 1.637 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.256e-05/0.01584, allocations: 74.72 kB / 235.9 MB, free: 1.562 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01584, allocations: 0 / 235.9 MB, free: 1.562 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002617/0.0161, allocations: 103.8 kB / 236 MB, free: 1.461 MB / 234.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 9.948e-05/0.0162, allocations: 92.34 kB / 236.1 MB, free: 1.363 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.01651, allocations: 262 kB / 236.4 MB, free: 1.094 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.01652, allocations: 4 kB / 236.4 MB, free: 1.09 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.01671, allocations: 243.6 kB / 236.6 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.01709, allocations: 0.6003 MB / 237.2 MB, free: 116 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.01947, allocations: 0.5606 MB / 237.8 MB, free: 15.52 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.698e-05/0.01955, allocations: 88.31 kB / 237.9 MB, free: 15.41 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.01963, allocations: 22.3 kB / 237.9 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.01974, allocations: 103.3 kB / 238 MB, free: 15.29 MB / 250.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01975, allocations: 3.938 kB / 238 MB, free: 15.28 MB / 250.7 MB Notification: Performance of Templates: time 0.0067/0.02645, allocations: 5.22 MB / 243.2 MB, free: 10.08 MB / 250.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 -ignoreHideResult -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","",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.6579206343740225]