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.001182/0.001182, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001337/0.001337, allocations: 164.8 kB / 24.99 MB, free: 8.758 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.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.2513/0.2513, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.563e-06/1.563e-06, allocations: 0 / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.324e-05, allocations: 9.766 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002191/0.002215, allocations: 1.938 MB / 377.9 MB, free: 3.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007416/0.002956, allocations: 0.584 MB / 378.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.003017, allocations: 4 kB / 378.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.003059, allocations: 11.86 kB / 378.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.00324, allocations: 39.64 kB / 378.6 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.00346, allocations: 87.75 kB / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.003607, allocations: 155.4 kB / 378.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.003722, allocations: 25.28 kB / 378.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.003925, allocations: 103.7 kB / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.004009, allocations: 51.81 kB / 379 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.004032, allocations: 12 kB / 379 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.004077, allocations: 23.94 kB / 379 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.004099, allocations: 27.91 kB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.004141, allocations: 47.89 kB / 379.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004292, allocations: 95.7 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004294, allocations: 4 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004294, allocations: 0 / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.004299, allocations: 3.938 kB / 379.2 MB, free: 1.773 MB / 346.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.0005011/0.0048, allocations: 468.1 kB / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.004834, allocations: 8.031 kB / 379.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.005009, allocations: 44.88 kB / 379.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.005121, allocations: 140.3 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.005134, allocations: 8.375 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.005159, allocations: 8.375 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.00537, allocations: 181.4 kB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.00538, allocations: 192 / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.005392, allocations: 384 / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.005401, allocations: 7.922 kB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.017e-05/0.005472, allocations: 37.78 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.005975, allocations: 406.7 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.006056, allocations: 43.05 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.006085, allocations: 19.69 kB / 380.5 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.006096, allocations: 0 / 380.5 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.006118, allocations: 37.47 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006119, allocations: 4 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004501/0.006569, allocations: 145.3 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.006622, allocations: 106.8 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.006729, allocations: 204.2 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.006744, allocations: 29.7 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.006808, allocations: 162.9 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.006824, allocations: 27.72 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.006864, allocations: 35.36 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.006973, allocations: 0.4923 MB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.007006, allocations: 8 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.007076, allocations: 113.8 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.00715, allocations: 63.03 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.007151, allocations: 0 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001246/0.007276, allocations: 89.56 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.007287, allocations: 4 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.007292, allocations: 4 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.007303, allocations: 0 / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.007585, allocations: 79.98 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009419/0.008526, allocations: 1.897 MB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.008602, allocations: 16.14 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.008612, allocations: 12.06 kB / 384 MB, free: 12.5 MB / 362.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.425e-05/0.008686, allocations: 160.6 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.00871, allocations: 11.89 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.00881, allocations: 82.5 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.008812, allocations: 0 / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.61e-07/0.008812, allocations: 0 / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.008815, allocations: 0 / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.009086, allocations: 361.3 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.009088, allocations: 0 / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.009145, allocations: 23.98 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.009147, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.009156, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009157, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.009158, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.009289, allocations: 227.7 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.009303, allocations: 19.84 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.009315, allocations: 0 / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.009384, allocations: 15.98 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.009422, allocations: 11.98 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.009428, allocations: 4 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.009482, allocations: 149.6 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009482, allocations: 0 / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.009651, allocations: 28 kB / 385.1 MB, free: 11.36 MB / 362.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.03e-05/0.009721, allocations: 95.25 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.01002, allocations: 95.67 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01002, allocations: 0 / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.01006, allocations: 31.61 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.01025, allocations: 15.94 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.01083, allocations: 305.6 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.01087, allocations: 67.33 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.325e-05/0.01091, allocations: 12.48 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.01096, allocations: 16.5 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01096, allocations: 4 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003228/0.01418, allocations: 1.875 MB / 387.6 MB, free: 8.793 MB / 362.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: 3.2797958308365196]