Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0012/0.0012, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002022/0.003222, 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.001045/0.001045, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002403, allocations: 479.5 kB / 11.83 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 0.9741/0.9741, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0952/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.53 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02448/0.2667, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.927e-06/3.927e-06, allocations: 4 kB / 292.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.354e-05, allocations: 4.375 kB / 292.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003932/0.003955, allocations: 1.991 MB / 294.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.005039, allocations: 0.5927 MB / 295.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.005113, allocations: 0 / 295.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.663e-05/0.00517, allocations: 11.86 kB / 295.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.005312, allocations: 47.62 kB / 295.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.005583, allocations: 79.77 kB / 295.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.005781, allocations: 155.4 kB / 295.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.005893, allocations: 25.95 kB / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.006179, allocations: 131.6 kB / 295.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.006296, allocations: 51.86 kB / 295.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.006328, allocations: 16 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.0064, allocations: 12 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.006433, allocations: 19.94 kB / 295.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.006482, allocations: 35.94 kB / 296 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.006674, allocations: 91.67 kB / 296.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.006686, allocations: 3.938 kB / 296.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006687, allocations: 0 / 296.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.006697, allocations: 4 kB / 296.1 MB, free: 2.969 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.000609/0.007306, allocations: 361.2 kB / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.007341, allocations: 8.625 kB / 296.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.007638, allocations: 118 kB / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.007771, allocations: 121.6 kB / 296.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.007787, allocations: 13.31 kB / 296.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.007817, allocations: 4.375 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.008066, allocations: 178.8 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.008076, allocations: 192 / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.008091, allocations: 4.375 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.008099, allocations: 7.938 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.777e-05/0.008167, allocations: 19.92 kB / 296.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.008728, allocations: 275.2 kB / 297.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.222e-05/0.008821, allocations: 38.5 kB / 297.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.008849, allocations: 16.84 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.008864, allocations: 4 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.00889, allocations: 30.56 kB / 297.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.008892, allocations: 0 / 297.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004932/0.009385, allocations: 121.5 kB / 297.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.009415, allocations: 55.41 kB / 297.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.009527, allocations: 146.6 kB / 297.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.009545, allocations: 29.7 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.009612, allocations: 112.2 kB / 297.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.009629, allocations: 11.86 kB / 297.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.009684, allocations: 29.69 kB / 297.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.009787, allocations: 326.8 kB / 298.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.481e-05/0.009821, allocations: 8 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/0.009901, allocations: 99.62 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.321e-05/0.009985, allocations: 46.53 kB / 298.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.009986, allocations: 0 / 298.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001287/0.01011, allocations: 73.62 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01013, allocations: 11.94 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01013, allocations: 0 / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01015, allocations: 3.938 kB / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.01058, allocations: 83.91 kB / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.01163, allocations: 1.28 MB / 299.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.01176, allocations: 15.98 kB / 299.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.01177, allocations: 4 kB / 299.7 MB, free: 15.03 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 9.095e-05/0.01186, allocations: 113.9 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.0119, allocations: 15.98 kB / 299.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.01202, allocations: 66.44 kB / 299.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.01203, allocations: 7.938 kB / 299.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-07/0.01203, allocations: 0 / 299.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01203, allocations: 288 / 299.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.01238, allocations: 230.7 kB / 300.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.01238, allocations: 3.984 kB / 300.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/0.01245, allocations: 23.98 kB / 300.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.01247, allocations: 11.91 kB / 300.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01247, allocations: 7.938 kB / 300.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.01248, allocations: 7.984 kB / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01248, allocations: 0 / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01248, allocations: 0 / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.933e-05/0.01258, allocations: 151.5 kB / 300.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.01259, allocations: 7.938 kB / 300.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.01266, allocations: 11.98 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.01269, allocations: 7.984 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.0127, allocations: 0 / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.917e-05/0.01272, allocations: 35.41 kB / 300.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01272, allocations: 4 kB / 300.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.01286, allocations: 24 kB / 300.4 MB, free: 14.25 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 6.237e-05/0.01292, allocations: 80.42 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.01317, allocations: 89.56 kB / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.01318, allocations: 4 kB / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.01322, allocations: 32.97 kB / 300.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.01339, allocations: 92.19 kB / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.01415, allocations: 306 kB / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.591e-05/0.01419, allocations: 63.34 kB / 301 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.01423, allocations: 16.48 kB / 301.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.01433, allocations: 75.28 kB / 301.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01433, allocations: 0 / 301.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of Templates: time 0.003606/0.01794, allocations: 1.996 MB / 303.1 MB, free: 11.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.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.820657799951732]