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.001403/0.001403, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001438/0.001438, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.773e-06/1.773e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.446e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006585/0.00662, allocations: 3.669 MB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.0105, allocations: 1.55 MB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005348/0.01104, allocations: 15.88 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.01213, allocations: 258.7 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.01323, allocations: 309.9 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008599/0.01409, allocations: 271.1 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.01525, allocations: 0.7473 MB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.01557, allocations: 113.5 kB / 279.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008666/0.01644, allocations: 407.1 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004958/0.01693, allocations: 247.3 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.01705, allocations: 52 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.01735, allocations: 103.9 kB / 280 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.01754, allocations: 151.4 kB / 280.2 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.01789, allocations: 207.5 kB / 280.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.01894, allocations: 0.7358 MB / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.01894, allocations: 0 / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01894, allocations: 4 kB / 281.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.01897, allocations: 0 / 281.1 MB, free: 8.969 MB / 266.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.002119/0.02109, allocations: 0.881 MB / 282 MB, free: 8.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.02113, allocations: 12.03 kB / 282 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/0.0215, allocations: 116.4 kB / 282.1 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.02227, allocations: 359.6 kB / 282.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.02232, allocations: 29.38 kB / 282.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/0.02239, allocations: 44.38 kB / 282.5 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.0234, allocations: 0.5313 MB / 283.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.02341, allocations: 11.94 kB / 283.1 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.02346, allocations: 16 kB / 283.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.02348, allocations: 8 kB / 283.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/0.02423, allocations: 307.8 kB / 283.4 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.02725, allocations: 1.506 MB / 284.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/0.02806, allocations: 327.2 kB / 285.2 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.02843, allocations: 160.7 kB / 285.4 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.02847, allocations: 11.75 kB / 285.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006241/0.02909, allocations: 365.2 kB / 285.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/0.02909, allocations: 0 / 285.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002788/0.03188, allocations: 0.7325 MB / 286.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.03201, allocations: 162.2 kB / 286.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007574/0.03277, allocations: 0.4901 MB / 287.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.03282, allocations: 33.7 kB / 287.2 MB, free: 2.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.03308, allocations: 260.7 kB / 287.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.03323, allocations: 127 kB / 287.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.03339, allocations: 74.19 kB / 287.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.03363, allocations: 358.7 kB / 288 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.03393, allocations: 128.9 kB / 288.1 MB, free: 1.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.03442, allocations: 337.5 kB / 288.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.03502, allocations: 273.3 kB / 288.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.03502, allocations: 4 kB / 288.7 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001105/0.03613, allocations: 485 kB / 289.2 MB, free: 488 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.03615, allocations: 8 kB / 289.2 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.03616, allocations: 0 / 289.2 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/0.03681, allocations: 171.4 kB / 289.4 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.03706, allocations: 47.91 kB / 289.4 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1357/0.1727, allocations: 6.13 MB / 295.5 MB, free: 23.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.1731, allocations: 53.81 kB / 295.6 MB, free: 23.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.1732, allocations: 9.938 kB / 295.6 MB, free: 23.19 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.0002627/0.1734, allocations: 191.7 kB / 295.8 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.1735, allocations: 65 kB / 295.8 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.1747, allocations: 0.4927 MB / 296.3 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.1747, allocations: 4.344 kB / 296.3 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1747, allocations: 3.203 kB / 296.3 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1747, allocations: 2.109 kB / 296.3 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.1752, allocations: 363 kB / 296.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1752, allocations: 0 / 296.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.1754, allocations: 27.95 kB / 296.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/0.1758, allocations: 154.2 kB / 296.9 MB, free: 22.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.1759, allocations: 12.5 kB / 296.9 MB, free: 22.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.1796, allocations: 5.854 MB / 302.7 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1796, allocations: 2.406 kB / 302.8 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.1806, allocations: 0.5157 MB / 303.3 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.1808, allocations: 88.42 kB / 303.4 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.1808, allocations: 20.11 kB / 303.4 MB, free: 16.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.1811, allocations: 27.42 kB / 303.4 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.1813, allocations: 56.22 kB / 303.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.1813, allocations: 13.28 kB / 303.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004214/0.1817, allocations: 350.8 kB / 303.8 MB, free: 16.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1817, allocations: 0 / 303.8 MB, free: 16.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008361/0.1826, allocations: 178.3 kB / 304 MB, free: 16.48 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.001936/0.1845, allocations: 460.1 kB / 304.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.1857, allocations: 0.7866 MB / 305.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1857, allocations: 0 / 305.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.1863, allocations: 0.6504 MB / 305.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.1869, allocations: 118.2 kB / 306 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.1891, allocations: 0.9897 MB / 307 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1894, allocations: 261.3 kB / 307.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000216/0.1896, allocations: 45.19 kB / 307.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.1897, allocations: 41.2 kB / 307.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1897, allocations: 0 / 307.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of Templates: time 0.01546/0.2052, allocations: 9.091 MB / 316.4 MB, free: 9.473 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.8374840230681]