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.0009451/0.0009451, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001004/0.001004, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.9716/0.9716, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.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.2543/0.2543, allocations: 34.26 MB / 296.1 MB, free: 0.6797 MB / 266.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 1.704e-06/1.704e-06, allocations: 0 / 325.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.778e-05, allocations: 3.922 kB / 325.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002107/0.002125, allocations: 1.939 MB / 327.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.002932, allocations: 0.5848 MB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.002994, allocations: 4 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.565e-05/0.00304, allocations: 15.86 kB / 327.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.003228, allocations: 47.62 kB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.003456, allocations: 83.77 kB / 327.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.003601, allocations: 159.3 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.003693, allocations: 18.58 kB / 328.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.003891, allocations: 103.8 kB / 328.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.00397, allocations: 55.81 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.003991, allocations: 12 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.004035, allocations: 27.88 kB / 328.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.004058, allocations: 31.89 kB / 328.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.004094, allocations: 35.92 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.004253, allocations: 111.7 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004255, allocations: 0 / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004255, allocations: 0 / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.004261, allocations: 0 / 328.4 MB, free: 4.516 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.0004485/0.00471, allocations: 337.8 kB / 328.8 MB, free: 4.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.004744, allocations: 15.97 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.004889, allocations: 36.91 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.516e-05/0.004984, allocations: 129.5 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.004995, allocations: 4.375 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.005022, allocations: 12.38 kB / 329 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.005205, allocations: 168.1 kB / 329.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.005215, allocations: 4.188 kB / 329.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.005235, allocations: 4.375 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005241, allocations: 3.938 kB / 329.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.005288, allocations: 31.88 kB / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.005695, allocations: 271.2 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.005758, allocations: 34.5 kB / 329.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.005779, allocations: 12.86 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.005789, allocations: 0 / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.005809, allocations: 38.56 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.005809, allocations: 0 / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003431/0.006153, allocations: 122 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.006202, allocations: 106.8 kB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.006285, allocations: 142.6 kB / 329.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.006298, allocations: 25.7 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.006344, allocations: 112.2 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.006357, allocations: 23.8 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.006394, allocations: 25.69 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.006465, allocations: 330.8 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.006486, allocations: 8 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.006542, allocations: 95.62 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.301e-05/0.006595, allocations: 50.59 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006597, allocations: 4 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.087e-05/0.006678, allocations: 65.61 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.006688, allocations: 8 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006691, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.006702, allocations: 4.094 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.006951, allocations: 79.86 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006981/0.007649, allocations: 1.276 MB / 332 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.007721, allocations: 15.98 kB / 332 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.007728, allocations: 3.984 kB / 332 MB, free: 0.6328 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.136e-05/0.00779, allocations: 117.8 kB / 332.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.00781, allocations: 11.92 kB / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.007881, allocations: 70.44 kB / 332.2 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.007883, allocations: 3.938 kB / 332.2 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.91e-07/0.007884, allocations: 64 / 332.2 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007887, allocations: 4 kB / 332.2 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.008101, allocations: 246.8 kB / 332.4 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.008104, allocations: 4 kB / 332.4 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.00816, allocations: 15.98 kB / 332.4 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008161, allocations: 0 / 332.4 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.00817, allocations: 15.92 kB / 332.5 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.008171, allocations: 0 / 332.5 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008172, allocations: 80 / 332.5 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.723e-05/0.008269, allocations: 151.5 kB / 332.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.008279, allocations: 11.89 kB / 332.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.008292, allocations: 7.938 kB / 332.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.675e-05/0.008359, allocations: 15.98 kB / 332.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.008388, allocations: 7.984 kB / 332.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.008392, allocations: 4 kB / 332.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.728e-05/0.008419, allocations: 31.41 kB / 332.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.008419, allocations: 0 / 332.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.008568, allocations: 28 kB / 332.7 MB, free: 15.84 MB / 314.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.429e-05/0.008642, allocations: 80.42 kB / 332.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.008892, allocations: 88.7 kB / 332.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.008895, allocations: 0 / 332.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.642e-05/0.008922, allocations: 16.86 kB / 332.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.009062, allocations: 15.98 kB / 332.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.009598, allocations: 308.5 kB / 333.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.009632, allocations: 63.34 kB / 333.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.54e-05/0.009678, allocations: 20.47 kB / 333.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.009774, allocations: 83.28 kB / 333.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009774, allocations: 0 / 333.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of Templates: time 0.003336/0.01311, allocations: 1.911 MB / 335.3 MB, free: 13.24 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9762342888861895]