Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 82.2 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 145.9 kB / 23.93 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.204e-05, allocations: 3.125 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00417/0.004192, allocations: 3.615 MB / 322.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.006387, allocations: 1.383 MB / 323.9 MB, free: 180 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.006629, allocations: 11.5 kB / 323.9 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.007368, allocations: 257.9 kB / 324.2 MB, free: 72 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.007994, allocations: 269.5 kB / 324.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.008736, allocations: 293.4 kB / 324.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009437/0.00968, allocations: 0.7392 MB / 325.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.00993, allocations: 116.4 kB / 325.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.01052, allocations: 392.6 kB / 326 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.01089, allocations: 240.3 kB / 326.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.01097, allocations: 50.88 kB / 326.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.0112, allocations: 100 kB / 326.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.01139, allocations: 150.7 kB / 326.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.01166, allocations: 208.1 kB / 326.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000993/0.01266, allocations: 0.7238 MB / 327.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.01266, allocations: 1.125 kB / 327.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01266, allocations: 0 / 327.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.01267, allocations: 0 / 327.4 MB, free: 14.59 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001991/0.01467, allocations: 0.8728 MB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.01471, allocations: 9.578 kB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.01487, allocations: 70.88 kB / 328.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.01556, allocations: 357.8 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.0156, allocations: 30.58 kB / 328.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/0.01568, allocations: 42.44 kB / 328.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009872/0.01667, allocations: 0.524 MB / 329.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.01669, allocations: 5.031 kB / 329.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.01675, allocations: 21.11 kB / 329.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.01677, allocations: 9.438 kB / 329.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.01746, allocations: 314.5 kB / 329.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.02012, allocations: 1.49 MB / 331.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.02094, allocations: 322.4 kB / 331.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.02131, allocations: 164.2 kB / 331.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.02134, allocations: 3.438 kB / 331.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006339/0.02197, allocations: 373.8 kB / 332 MB, free: 11.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.003e-06/0.02198, allocations: 0 / 332 MB, free: 11.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002217/0.02419, allocations: 0.7164 MB / 332.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.02433, allocations: 163.2 kB / 332.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.02502, allocations: 482.7 kB / 333.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.02507, allocations: 35.45 kB / 333.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.0253, allocations: 253.7 kB / 333.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.02543, allocations: 134.8 kB / 333.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.02558, allocations: 76.5 kB / 333.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.02579, allocations: 363 kB / 334.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.02607, allocations: 123.5 kB / 334.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.0265, allocations: 342.3 kB / 334.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.02704, allocations: 270 kB / 334.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02704, allocations: 0 / 334.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008928/0.02793, allocations: 482 kB / 335.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.02795, allocations: 5.5 kB / 335.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.02796, allocations: 1.375 kB / 335.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/0.02848, allocations: 153.5 kB / 335.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.0287, allocations: 44.91 kB / 335.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/0.03455, allocations: 6.125 MB / 341.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.03499, allocations: 53.41 kB / 341.8 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.03502, allocations: 17.44 kB / 341.8 MB, free: 3.043 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003039/0.03532, allocations: 194.6 kB / 342 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.021e-05/0.03541, allocations: 51.17 kB / 342 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.0365, allocations: 0.4999 MB / 342.5 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.03651, allocations: 7.781 kB / 342.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.03651, allocations: 5.344 kB / 342.5 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.03652, allocations: 3.984 kB / 342.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.03703, allocations: 347.2 kB / 342.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.03703, allocations: 0 / 342.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.03718, allocations: 32.91 kB / 342.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.03763, allocations: 154.8 kB / 343.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.03766, allocations: 10.55 kB / 343.1 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005923/0.04358, allocations: 5.836 MB / 348.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.04358, allocations: 0 / 348.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.04462, allocations: 0.4955 MB / 349.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.0448, allocations: 83.67 kB / 349.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.04487, allocations: 19.94 kB / 349.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.04515, allocations: 31.91 kB / 349.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.0453, allocations: 56.09 kB / 349.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.04534, allocations: 12 kB / 349.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000443/0.04578, allocations: 347.1 kB / 349.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.04578, allocations: 0 / 349.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008284/0.04661, allocations: 167.8 kB / 350.1 MB, free: 11.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/0.04829, allocations: 463 kB / 350.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.04958, allocations: 0.7879 MB / 351.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.04958, allocations: 0 / 351.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007987/0.05038, allocations: 0.6428 MB / 352 MB, free: 9.324 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.0509, allocations: 106.8 kB / 352.1 MB, free: 9.223 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.05284, allocations: 0.9404 MB / 353 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.05313, allocations: 267.1 kB / 353.3 MB, free: 7.977 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.05328, allocations: 47.3 kB / 353.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.05337, allocations: 36.5 kB / 353.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.05337, allocations: 0 / 353.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of Templates: time 0.01708/0.07045, allocations: 9.004 MB / 362.4 MB, free: 15.03 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 4.648415628820658]