Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, allocations: 116.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001829/0.001829, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 230.3 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2545/0.2545, allocations: 46.92 MB / 358.2 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002579/0.002579, allocations: 79.86 kB / 0.4925 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1386, allocations: 66 MB / 0.5569 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003645/0.1422, allocations: 1.914 MB / 0.5588 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1433, allocations: 0.6 MB / 0.5594 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.1434, allocations: 4 kB / 0.5594 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.1434, allocations: 11.86 kB / 0.5594 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1436, allocations: 43.62 kB / 0.5595 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1439, allocations: 83.08 kB / 0.5595 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1441, allocations: 155.5 kB / 0.5597 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1442, allocations: 25.11 kB / 0.5597 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.1445, allocations: 75.7 kB / 0.5598 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1446, allocations: 71.73 kB / 0.5599 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1446, allocations: 12 kB / 0.5599 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.1447, allocations: 16 kB / 0.5599 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.1447, allocations: 35.84 kB / 0.5599 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.1448, allocations: 55.73 kB / 0.56 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.145, allocations: 151.4 kB / 0.5601 GB, free: 2.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.145, allocations: 0 / 0.5601 GB, free: 2.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.145, allocations: 0 / 0.5601 GB, free: 2.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.145, allocations: 4 kB / 0.5601 GB, free: 2.27 MB / 414.1 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.0009409/0.146, allocations: 450.9 kB / 0.5605 GB, free: 1.781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.146, allocations: 8.031 kB / 0.5606 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.1463, allocations: 48.81 kB / 0.5606 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1465, allocations: 190.5 kB / 0.5608 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1465, allocations: 4.375 kB / 0.5608 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.1466, allocations: 12.38 kB / 0.5608 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.1469, allocations: 132.5 kB / 0.5609 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1469, allocations: 4 kB / 0.5609 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.147, allocations: 0 / 0.5609 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.147, allocations: 0 / 0.5609 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.1473, allocations: 95.86 kB / 0.561 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.1482, allocations: 467.3 kB / 0.5615 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.1485, allocations: 98.45 kB / 0.5616 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1487, allocations: 36.92 kB / 0.5616 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1487, allocations: 3.984 kB / 0.5616 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1488, allocations: 34.56 kB / 0.5616 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1488, allocations: 7.938 kB / 0.5616 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001449/0.1502, allocations: 317.1 kB / 0.5619 GB, free: 220 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.1503, allocations: 106.8 kB / 0.562 GB, free: 88 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1504, allocations: 152 kB / 0.5622 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1505, allocations: 29.7 kB / 0.5622 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.1506, allocations: 112.2 kB / 0.5623 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1506, allocations: 19.84 kB / 0.5623 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.1507, allocations: 29.7 kB / 0.5624 GB, free: 15.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1508, allocations: 322.8 kB / 0.5627 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.151, allocations: 55.95 kB / 0.5627 GB, free: 15.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.1513, allocations: 100.2 kB / 0.5628 GB, free: 15.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.1518, allocations: 134.5 kB / 0.563 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1518, allocations: 0 / 0.563 GB, free: 15.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005529/0.1523, allocations: 177.5 kB / 0.5631 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1523, allocations: 15.88 kB / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1524, allocations: 0 / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1524, allocations: 0 / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.153, allocations: 87.97 kB / 0.5632 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.1547, allocations: 1.497 MB / 0.5647 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1549, allocations: 27.94 kB / 0.5647 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1549, allocations: 4.125 kB / 0.5647 GB, free: 13.13 MB / 430.1 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 0.0001221/0.155, allocations: 129.7 kB / 0.5648 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1551, allocations: 11.95 kB / 0.5649 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005345/0.1556, allocations: 162.3 kB / 0.565 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1556, allocations: 4 kB / 0.565 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.1556, allocations: 64 / 0.565 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1556, allocations: 4 kB / 0.565 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.1565, allocations: 470.2 kB / 0.5655 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1565, allocations: 0 / 0.5655 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1567, allocations: 27.97 kB / 0.5655 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1567, allocations: 0 / 0.5655 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1567, allocations: 192 / 0.5655 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1567, allocations: 3.938 kB / 0.5655 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1567, allocations: 3.938 kB / 0.5655 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.1572, allocations: 255.3 kB / 0.5657 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.1573, allocations: 85.06 kB / 0.5658 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1573, allocations: 8 kB / 0.5658 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.1576, allocations: 27.91 kB / 0.5659 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.1576, allocations: 4.266 kB / 0.5659 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1576, allocations: 4 kB / 0.5659 GB, free: 11.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.98e-05/0.1577, allocations: 115.2 kB / 0.566 GB, free: 11.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1577, allocations: 0 / 0.566 GB, free: 11.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.158, allocations: 28 kB / 0.566 GB, free: 11.71 MB / 430.1 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 0.0001188/0.1581, allocations: 99.25 kB / 0.5661 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009125/0.159, allocations: 175.9 kB / 0.5663 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.159, allocations: 0 / 0.5663 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.1593, allocations: 51.95 kB / 0.5663 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1596, allocations: 20.59 kB / 0.5663 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.1609, allocations: 399.3 kB / 0.5667 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1613, allocations: 0.7041 MB / 0.5674 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.1613, allocations: 15.44 kB / 0.5674 GB, free: 10.2 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1613, allocations: 0 / 0.5674 GB, free: 10.2 MB / 430.1 MB Notification: Performance of Templates: time 0.003992/0.1653, allocations: 1.841 MB / 0.5692 GB, free: 8.355 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.5985648009955185]