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.001176/0.001176, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001125/0.001125, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.113/1.113, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.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.523e-06/1.523e-06, allocations: 0 / 251.5 MB, free: 7.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.491e-05, allocations: 6.25 kB / 251.5 MB, free: 7.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003465/0.00349, allocations: 2.856 MB / 254.3 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.005137, allocations: 0.7681 MB / 255.1 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.005359, allocations: 4 kB / 255.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.005538, allocations: 47.5 kB / 255.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.005725, allocations: 115 kB / 255.3 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.006075, allocations: 99.75 kB / 255.4 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.006472, allocations: 426 kB / 255.8 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.006702, allocations: 83.67 kB / 255.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.007123, allocations: 231.5 kB / 256.1 MB, free: 2.699 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.00736, allocations: 131.6 kB / 256.2 MB, free: 2.57 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.007415, allocations: 36 kB / 256.2 MB, free: 2.535 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.691e-05/0.007462, allocations: 36 kB / 256.3 MB, free: 2.5 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.00753, allocations: 79.75 kB / 256.4 MB, free: 2.422 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.007873, allocations: 123.7 kB / 256.5 MB, free: 2.301 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.008213, allocations: 267.1 kB / 256.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.008217, allocations: 0 / 256.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.008218, allocations: 0 / 256.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.008225, allocations: 0 / 256.7 MB, free: 2.035 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.0007602/0.008985, allocations: 0.6527 MB / 257.4 MB, free: 1.348 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.009029, allocations: 15.98 kB / 257.4 MB, free: 1.332 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.009107, allocations: 56.7 kB / 257.5 MB, free: 1.277 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.009352, allocations: 220 kB / 257.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.009374, allocations: 20.88 kB / 257.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.009413, allocations: 24.38 kB / 257.7 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.00972, allocations: 276.7 kB / 258 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.00973, allocations: 4.188 kB / 258 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.009749, allocations: 12.38 kB / 258 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.00976, allocations: 15.94 kB / 258 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.009865, allocations: 79.36 kB / 258.1 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.011, allocations: 1.046 MB / 259.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.01134, allocations: 167 kB / 259.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.01149, allocations: 87.61 kB / 259.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.01152, allocations: 11.92 kB / 259.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.01173, allocations: 191.1 kB / 259.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.01173, allocations: 0 / 259.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.001076/0.01281, allocations: 332.8 kB / 259.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.01289, allocations: 140.5 kB / 260.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.01307, allocations: 272.2 kB / 260.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.0131, allocations: 25.7 kB / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.01322, allocations: 223.3 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.01327, allocations: 79.39 kB / 260.6 MB, free: 13.85 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.01335, allocations: 59.3 kB / 260.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.01351, allocations: 0.504 MB / 261.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.01355, allocations: 23.98 kB / 261.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.01367, allocations: 145.5 kB / 261.4 MB, free: 13.06 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.01381, allocations: 110.5 kB / 261.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01382, allocations: 0 / 261.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002531/0.01407, allocations: 193.1 kB / 261.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.01409, allocations: 8 kB / 261.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.0141, allocations: 0 / 261.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.01435, allocations: 71.5 kB / 261.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.01446, allocations: 27.98 kB / 261.8 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.01622, allocations: 2.302 MB / 264.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.01633, allocations: 31.81 kB / 264.1 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.01635, allocations: 4 kB / 264.1 MB, free: 10.18 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.0001434/0.01649, allocations: 172.5 kB / 264.3 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.01653, allocations: 35.89 kB / 264.3 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.01657, allocations: 34.27 kB / 264.3 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01657, allocations: 0 / 264.3 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.01658, allocations: 4 kB / 264.3 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.01658, allocations: 0 / 264.3 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.0172, allocations: 0.6294 MB / 265 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.01721, allocations: 7.984 kB / 265 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.578e-05/0.01728, allocations: 23.92 kB / 265 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.01746, allocations: 63.84 kB / 265.1 MB, free: 9.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.01748, allocations: 8.031 kB / 265.1 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.01948, allocations: 2.317 MB / 267.4 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01949, allocations: 3.938 kB / 267.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.01988, allocations: 360.7 kB / 267.7 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.01996, allocations: 51.7 kB / 267.8 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.01999, allocations: 8 kB / 267.8 MB, free: 6.281 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.02011, allocations: 11.98 kB / 267.8 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.0202, allocations: 35.88 kB / 267.9 MB, free: 6.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.02021, allocations: 4 kB / 267.9 MB, free: 6.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.02035, allocations: 189.1 kB / 268 MB, free: 6.043 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02035, allocations: 0 / 268 MB, free: 6.043 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004509/0.0208, allocations: 91.84 kB / 268.1 MB, free: 5.953 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.0001467/0.02095, allocations: 107.3 kB / 268.2 MB, free: 5.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004769/0.02143, allocations: 332 kB / 268.6 MB, free: 5.496 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.02143, allocations: 0 / 268.6 MB, free: 5.496 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.0217, allocations: 301.6 kB / 268.9 MB, free: 5.18 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.02207, allocations: 56.72 kB / 268.9 MB, free: 5.125 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.02326, allocations: 0.5497 MB / 269.5 MB, free: 4.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.387e-05/0.02336, allocations: 88.31 kB / 269.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.897e-05/0.02344, allocations: 22.28 kB / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.02361, allocations: 126.1 kB / 269.7 MB, free: 4.293 MB / 250.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02361, allocations: 4 kB / 269.7 MB, free: 4.289 MB / 250.7 MB Notification: Performance of Templates: time 0.008805/0.03241, allocations: 4.915 MB / 274.6 MB, free: 15.41 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","",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.1988266790285707]