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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007865/0.0007865, allocations: 93.19 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008341/0.0008341, allocations: 175.5 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 44.24 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003765, allocations: 8 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1489, allocations: 61.94 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002395/0.1514, allocations: 1.605 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.1524, allocations: 0.5261 MB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.1525, allocations: 0 / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.1525, allocations: 11.92 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.1528, allocations: 31.78 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.153, allocations: 78.58 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1532, allocations: 143.4 kB / 474.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1534, allocations: 32.95 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1536, allocations: 59.77 kB / 474.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1537, allocations: 67.75 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.1537, allocations: 4 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.347e-05/0.1538, allocations: 8 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.1538, allocations: 19.91 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.78e-05/0.1539, allocations: 85.36 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1541, allocations: 127.7 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1541, allocations: 4 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1541, allocations: 0 / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.1541, allocations: 4 kB / 475 MB, free: 10.49 MB / 350.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.0007873/0.1549, allocations: 431.1 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.155, allocations: 8.031 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.155, allocations: 16.83 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1552, allocations: 192.1 kB / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1553, allocations: 8.375 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1553, allocations: 4.375 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1556, allocations: 143 kB / 475.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1557, allocations: 4 kB / 475.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.1557, allocations: 8 kB / 475.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1557, allocations: 0 / 475.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.156, allocations: 107.9 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.1569, allocations: 467.3 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.1573, allocations: 90.47 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.1574, allocations: 48.92 kB / 476.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1575, allocations: 4 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1575, allocations: 38.53 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1575, allocations: 0 / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.00143/0.1589, allocations: 365.1 kB / 476.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.159, allocations: 110.8 kB / 477 MB, free: 8.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1592, allocations: 144 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.1592, allocations: 29.7 kB / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.1593, allocations: 112 kB / 477.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1593, allocations: 19.75 kB / 477.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.1594, allocations: 21.7 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1595, allocations: 318.8 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1597, allocations: 75.94 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.16, allocations: 108.2 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.1605, allocations: 154.5 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1605, allocations: 4 kB / 478 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005407/0.161, allocations: 197.4 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1611, allocations: 7.938 kB / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1611, allocations: 0 / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1611, allocations: 0 / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.1617, allocations: 95.91 kB / 478.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.1631, allocations: 1.409 MB / 479.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.1634, allocations: 32.12 kB / 479.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1634, allocations: 4 kB / 479.8 MB, free: 5.375 MB / 350.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.0001246/0.1635, allocations: 125.8 kB / 479.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1636, allocations: 7.906 kB / 479.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.1641, allocations: 194.2 kB / 480.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1641, allocations: 0 / 480.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1641, allocations: 4.062 kB / 480.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1642, allocations: 4 kB / 480.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/0.165, allocations: 486.3 kB / 480.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.165, allocations: 0 / 480.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1652, allocations: 35.97 kB / 480.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1652, allocations: 3.938 kB / 480.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1652, allocations: 0 / 480.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1652, allocations: 3.984 kB / 480.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1652, allocations: 0 / 480.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.1658, allocations: 279.5 kB / 480.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1659, allocations: 89 kB / 481 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1659, allocations: 4 kB / 481 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1661, allocations: 31.97 kB / 481 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.1662, allocations: 4 kB / 481 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1662, allocations: 7.922 kB / 481 MB, free: 4.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.687e-05/0.1663, allocations: 118.1 kB / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1663, allocations: 0 / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1666, allocations: 24 kB / 481.1 MB, free: 3.879 MB / 350.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.0001117/0.1667, allocations: 100.1 kB / 481.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009803/0.1677, allocations: 204.1 kB / 481.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1677, allocations: 0 / 481.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.1679, allocations: 75.89 kB / 481.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1683, allocations: 12 kB / 481.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1696, allocations: 429.4 kB / 481.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1699, allocations: 0.7004 MB / 482.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.446e-05/0.17, allocations: 20.41 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.17, allocations: 19.44 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.885e-06/0.17, allocations: 0 / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Templates: time 0.004453/0.1745, allocations: 1.519 MB / 484.2 MB, free: 0.7539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches