Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001279/0.001279, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001476/0.001476, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2424/0.2424, allocations: 32.82 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 3.938 kB / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.24e-05, allocations: 7.922 kB / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002341/0.002363, allocations: 1.925 MB / 325.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.003177, allocations: 0.5842 MB / 325.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.003236, allocations: 0 / 325.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.374e-05/0.00329, allocations: 15.8 kB / 325.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.003478, allocations: 43.7 kB / 325.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.00369, allocations: 79.75 kB / 325.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.003824, allocations: 163.4 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.00392, allocations: 22.58 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.004131, allocations: 103.7 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.004214, allocations: 55.81 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.004235, allocations: 12 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.004279, allocations: 23.92 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.004302, allocations: 27.91 kB / 326.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.004338, allocations: 43.84 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.00449, allocations: 107.7 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.004494, allocations: 3.938 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004495, allocations: 4 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004498, allocations: 0 / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004028/0.004901, allocations: 337.6 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.00493, allocations: 8.031 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.0051, allocations: 48.88 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.005201, allocations: 125.6 kB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.005214, allocations: 4.375 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.005239, allocations: 8.375 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.005464, allocations: 169.7 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.005474, allocations: 192 / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.005486, allocations: 4.375 kB / 327.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.005493, allocations: 7.922 kB / 327.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.005539, allocations: 30.22 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.005935, allocations: 279.2 kB / 327.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.62e-05/0.006001, allocations: 34.56 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.006019, allocations: 8.953 kB / 327.5 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.006033, allocations: 3.984 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.006054, allocations: 42.5 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.006054, allocations: 0 / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000365/0.006419, allocations: 118 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.006459, allocations: 110.8 kB / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.006544, allocations: 145.4 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.006557, allocations: 25.7 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.0066, allocations: 108.2 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.006615, allocations: 23.8 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.006653, allocations: 29.69 kB / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.006734, allocations: 322.8 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.00676, allocations: 11.98 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.006815, allocations: 91.64 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.262e-05/0.006878, allocations: 58.5 kB / 328.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.006878, allocations: 0 / 328.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.784e-05/0.006966, allocations: 69.61 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.006978, allocations: 4 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006982, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.006992, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.00724, allocations: 79.91 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007437/0.007984, allocations: 1.284 MB / 330 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.008057, allocations: 15.98 kB / 330 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.008065, allocations: 3.984 kB / 330 MB, free: 2.621 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.008131, allocations: 118 kB / 330.1 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.00815, allocations: 4 kB / 330.1 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-05/0.00823, allocations: 74.38 kB / 330.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.008234, allocations: 3.938 kB / 330.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.008235, allocations: 3.984 kB / 330.2 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008238, allocations: 0 / 330.2 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.008463, allocations: 242.7 kB / 330.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008465, allocations: 0 / 330.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.008518, allocations: 23.92 kB / 330.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.008522, allocations: 4 kB / 330.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.008531, allocations: 8 kB / 330.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008533, allocations: 0 / 330.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008534, allocations: 0 / 330.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.008658, allocations: 155.5 kB / 330.6 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.008673, allocations: 7.953 kB / 330.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.008692, allocations: 3.938 kB / 330.6 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.008799, allocations: 11.98 kB / 330.6 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.008837, allocations: 11.98 kB / 330.6 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.008841, allocations: 4 kB / 330.6 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.87e-05/0.00887, allocations: 32.81 kB / 330.7 MB, free: 1.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00887, allocations: 0 / 330.7 MB, free: 1.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.009021, allocations: 28 kB / 330.7 MB, free: 1.84 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.984e-05/0.009101, allocations: 86.3 kB / 330.8 MB, free: 1.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.009354, allocations: 76.8 kB / 330.9 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.009358, allocations: 8.125 kB / 330.9 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.009386, allocations: 25.23 kB / 330.9 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.00954, allocations: 23.84 kB / 330.9 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.01009, allocations: 305.2 kB / 331.2 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.01012, allocations: 63.34 kB / 331.3 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.168e-05/0.01016, allocations: 8.484 kB / 331.3 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/0.01026, allocations: 87.31 kB / 331.4 MB, free: 1.109 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01026, allocations: 0 / 331.4 MB, free: 1.109 MB / 298.7 MB Notification: Performance of Templates: time 0.003585/0.01384, allocations: 1.902 MB / 333.3 MB, free: 15.24 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.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: 2.929395859129727]