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.0008574/0.0008574, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002308, allocations: 449.7 kB / 10.37 MB, free: 328 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.001068/0.001068, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.00233, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.075/1.075, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1268/1.202, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.3085/0.3085, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02645/0.335, allocations: 12.52 MB / 289.3 MB, free: 8.684 MB / 282.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.804e-06/1.804e-06, allocations: 0 / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.945e-05, allocations: 4.547 kB / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003318/0.003347, allocations: 1.983 MB / 292.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008811/0.004229, allocations: 0.5814 MB / 293.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.004295, allocations: 1.625 kB / 293.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.942e-05/0.004344, allocations: 13.92 kB / 293.2 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.004473, allocations: 43.62 kB / 293.2 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.004721, allocations: 84.02 kB / 293.3 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.004912, allocations: 165.3 kB / 293.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.005037, allocations: 22.58 kB / 293.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.005311, allocations: 123.7 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.005406, allocations: 55.86 kB / 293.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.005429, allocations: 12 kB / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.187e-05/0.005491, allocations: 16 kB / 293.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.005518, allocations: 15.94 kB / 293.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.005555, allocations: 39.88 kB / 293.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.005725, allocations: 91.67 kB / 293.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-05/0.005743, allocations: 4 kB / 293.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.005744, allocations: 4 kB / 293.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.005759, allocations: 0 / 293.8 MB, free: 5.082 MB / 282.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.000518/0.006277, allocations: 360.7 kB / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.006309, allocations: 12.62 kB / 294.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.006519, allocations: 118 kB / 294.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.006631, allocations: 129.7 kB / 294.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.006647, allocations: 9.312 kB / 294.4 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.006672, allocations: 8.375 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.006866, allocations: 172.7 kB / 294.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.006879, allocations: 192 / 294.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00689, allocations: 4.375 kB / 294.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.006899, allocations: 7.938 kB / 294.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.006956, allocations: 21.86 kB / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.007428, allocations: 279.1 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.398e-05/0.007512, allocations: 30.56 kB / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.007533, allocations: 12.86 kB / 295 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.007547, allocations: 4.094 kB / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.007573, allocations: 34.55 kB / 295 MB, free: 3.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.007575, allocations: 0 / 295 MB, free: 3.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004309/0.008005, allocations: 113.5 kB / 295.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.008039, allocations: 67.33 kB / 295.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.008129, allocations: 146.6 kB / 295.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.008142, allocations: 25.7 kB / 295.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.008194, allocations: 112.2 kB / 295.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.008211, allocations: 11.86 kB / 295.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.008252, allocations: 29.69 kB / 295.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.008337, allocations: 330.7 kB / 295.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.008364, allocations: 11.98 kB / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.008431, allocations: 91.7 kB / 295.9 MB, free: 2.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.008493, allocations: 50.5 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.008494, allocations: 4 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.589e-05/0.00859, allocations: 65.61 kB / 296 MB, free: 2.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.008603, allocations: 4 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.008608, allocations: 4 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.008618, allocations: 288 / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.008886, allocations: 83.91 kB / 296.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007571/0.009643, allocations: 1.279 MB / 297.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.009724, allocations: 20.05 kB / 297.4 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.009731, allocations: 0 / 297.4 MB, free: 1.145 MB / 282.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 7.753e-05/0.009809, allocations: 118 kB / 297.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.009831, allocations: 15.98 kB / 297.6 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.454e-05/0.009916, allocations: 62.44 kB / 297.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.009918, allocations: 3.938 kB / 297.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.00992, allocations: 3.938 kB / 297.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009923, allocations: 0 / 297.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.01016, allocations: 238.9 kB / 297.9 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01016, allocations: 0 / 297.9 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.01023, allocations: 27.98 kB / 297.9 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.01024, allocations: 11.94 kB / 297.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01024, allocations: 3.938 kB / 297.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.01025, allocations: 0 / 297.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01025, allocations: 3.938 kB / 297.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01025, allocations: 0 / 297.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.01036, allocations: 151.5 kB / 298.1 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01037, allocations: 11.94 kB / 298.1 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.399e-05/0.01044, allocations: 11.98 kB / 298.1 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.01048, allocations: 3.984 kB / 298.1 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.01048, allocations: 8 kB / 298.1 MB, free: 436 kB / 282.7 MB Notification: Performance of sorting global known variables: time 2.785e-05/0.01051, allocations: 35.23 kB / 298.1 MB, free: 400 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01051, allocations: 3.938 kB / 298.1 MB, free: 396 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.01065, allocations: 24 kB / 298.2 MB, free: 372 kB / 282.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 8.02e-05/0.01073, allocations: 80.42 kB / 298.2 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.01099, allocations: 85.58 kB / 298.3 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.011, allocations: 4.125 kB / 298.3 MB, free: 184 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.01103, allocations: 28.77 kB / 298.4 MB, free: 152 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.01121, allocations: 27.98 kB / 298.4 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.01224, allocations: 305.3 kB / 298.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.745e-05/0.01228, allocations: 67.34 kB / 298.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.01234, allocations: 12.48 kB / 298.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01245, allocations: 75.33 kB / 298.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01245, allocations: 4 kB / 298.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of Templates: time 0.003799/0.01625, allocations: 1.99 MB / 300.8 MB, free: 13.66 MB / 298.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 -ignoreHideResult -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: 3.205609559081495]