Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.0009279/0.0009279, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002254, 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.0009004/0.0009004, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002871/0.003771, 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 1.034/1.034, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1092/1.143, 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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.453e-05, allocations: 5.688 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004036/0.004061, allocations: 3.996 MB / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.006212, allocations: 1.635 MB / 250.4 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.006391, allocations: 7.938 kB / 250.4 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.006879, allocations: 238.7 kB / 250.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.007262, allocations: 333.8 kB / 250.9 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.007614, allocations: 279.1 kB / 251.2 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.00811, allocations: 0.7394 MB / 251.9 MB, free: 6.949 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.008297, allocations: 118.2 kB / 252.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.00871, allocations: 496 kB / 252.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.008944, allocations: 243.3 kB / 252.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.008995, allocations: 48 kB / 252.8 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.009162, allocations: 111.8 kB / 252.9 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.009268, allocations: 111.6 kB / 253 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.009398, allocations: 167.6 kB / 253.2 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.009815, allocations: 486.2 kB / 253.7 MB, free: 5.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.009827, allocations: 0 / 253.7 MB, free: 5.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009828, allocations: 0 / 253.7 MB, free: 5.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.00984, allocations: 0 / 253.7 MB, free: 5.203 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001021/0.01086, allocations: 0.9807 MB / 254.7 MB, free: 4.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.01089, allocations: 8.031 kB / 254.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.01108, allocations: 162 kB / 254.8 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.01141, allocations: 316.3 kB / 255.1 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.01144, allocations: 33.38 kB / 255.2 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.01148, allocations: 36.38 kB / 255.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.01183, allocations: 430.8 kB / 255.6 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01184, allocations: 3.938 kB / 255.6 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.01187, allocations: 19.98 kB / 255.7 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.01188, allocations: 8 kB / 255.7 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.01203, allocations: 125.6 kB / 255.8 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.01359, allocations: 1.219 MB / 257 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.01389, allocations: 281.4 kB / 257.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.01401, allocations: 80.84 kB / 257.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.01404, allocations: 11.75 kB / 257.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.01433, allocations: 319.9 kB / 257.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.01434, allocations: 0 / 257.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009742/0.01531, allocations: 473.1 kB / 258.1 MB, free: 476 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.01535, allocations: 59.41 kB / 258.2 MB, free: 404 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.01568, allocations: 400.9 kB / 258.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.01571, allocations: 33.64 kB / 258.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.01583, allocations: 209.6 kB / 258.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/0.01591, allocations: 123 kB / 258.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.01601, allocations: 86.14 kB / 259 MB, free: 15.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.01613, allocations: 362.7 kB / 259.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.01621, allocations: 39.81 kB / 259.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.01637, allocations: 265.5 kB / 259.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.01656, allocations: 162.6 kB / 259.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01656, allocations: 0 / 259.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003412/0.01691, allocations: 276.3 kB / 260.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01692, allocations: 8 kB / 260.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01692, allocations: 0 / 260.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.01722, allocations: 127.4 kB / 260.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.01738, allocations: 51.91 kB / 260.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.02038, allocations: 5.54 MB / 265.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.02055, allocations: 51.8 kB / 265.9 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.02057, allocations: 12 kB / 265.9 MB, free: 8.203 MB / 266.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: 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.0001322/0.02071, allocations: 150.7 kB / 266 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.02076, allocations: 39.95 kB / 266.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.02121, allocations: 317.1 kB / 266.4 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.02121, allocations: 4 kB / 266.4 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.02122, allocations: 4 kB / 266.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.02122, allocations: 0 / 266.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.0215, allocations: 257.4 kB / 266.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02151, allocations: 0 / 266.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.0216, allocations: 31.98 kB / 266.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.02171, allocations: 55.59 kB / 266.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.02194, allocations: 119.3 kB / 266.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.02196, allocations: 11.94 kB / 266.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.02463, allocations: 5.233 MB / 272.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02463, allocations: 4 kB / 272.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.02504, allocations: 317.7 kB / 272.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.02509, allocations: 15.92 kB / 272.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.02523, allocations: 32.02 kB / 272.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.02533, allocations: 51.89 kB / 272.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.02535, allocations: 8 kB / 272.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.02551, allocations: 179.5 kB / 272.7 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02551, allocations: 0 / 272.7 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005735/0.02609, allocations: 175.7 kB / 272.9 MB, free: 0.793 MB / 266.7 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.001597/0.02768, allocations: 0.5882 MB / 273.5 MB, free: 488 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.02834, allocations: 0.6664 MB / 274.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/0.02835, allocations: 11.94 kB / 274.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.02879, allocations: 0.6087 MB / 274.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007124/0.0295, allocations: 1.002 MB / 275.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.03453, allocations: 0.9342 MB / 276.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.03463, allocations: 134.4 kB / 276.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.03476, allocations: 51.27 kB / 276.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.03501, allocations: 149.2 kB / 277 MB, free: 12.57 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03501, allocations: 0 / 277 MB, free: 12.57 MB / 282.7 MB Notification: Performance of Templates: time 0.01525/0.05026, allocations: 10.13 MB / 287.1 MB, free: 2.594 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.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.9823396671563387]