Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.002217/0.002218, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.505/2.505, allocations: 222.9 MB / 242.5 MB, free: 15.47 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.405/0.405, allocations: 44.19 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002297, allocations: 69.28 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1589, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00393/0.1629, allocations: 1.762 MB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002508/0.1632, allocations: 91.64 kB / 471 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.933e-05/0.1633, allocations: 4 kB / 471 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.918e-05/0.1634, allocations: 7.922 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1636, allocations: 15.86 kB / 471.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.1637, allocations: 23.97 kB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1639, allocations: 103.6 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.1641, allocations: 51.8 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1642, allocations: 43.84 kB / 471.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.244e-05/0.1643, allocations: 51.77 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.1643, allocations: 11.94 kB / 471.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.23e-05/0.1644, allocations: 8 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.1644, allocations: 19.92 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.1645, allocations: 43.8 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1646, allocations: 92.05 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1646, allocations: 4 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1646, allocations: 0 / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1646, allocations: 0 / 471.5 MB, free: 12.52 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007873/0.1654, allocations: 415.2 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1655, allocations: 12.03 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1656, allocations: 8.844 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.1657, allocations: 184.2 kB / 472.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1658, allocations: 8.375 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1658, allocations: 8.375 kB / 472.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.1662, allocations: 120 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1662, allocations: 192 / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.1663, allocations: 7.938 kB / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1663, allocations: 7.938 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.1667, allocations: 111.7 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009642/0.1677, allocations: 475.3 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.1679, allocations: 86.53 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.1682, allocations: 64.92 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1682, allocations: 4 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.1683, allocations: 30.56 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.1683, allocations: 4 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000962/0.1693, allocations: 275.3 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1693, allocations: 51.41 kB / 473.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1695, allocations: 121.8 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1695, allocations: 25.7 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.1696, allocations: 108.1 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1696, allocations: 15.8 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.1697, allocations: 17.72 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1699, allocations: 322.8 kB / 473.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.17, allocations: 43.89 kB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.1702, allocations: 50.53 kB / 474 MB, free: 9.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.1706, allocations: 98.5 kB / 474.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1706, allocations: 3.938 kB / 474.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004475/0.171, allocations: 154.2 kB / 474.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1711, allocations: 14.12 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.1711, allocations: 0 / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/0.1713, allocations: 24.84 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1715, allocations: 15.98 kB / 474.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.1728, allocations: 1.304 MB / 475.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.1729, allocations: 16.33 kB / 475.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1729, allocations: 4 kB / 475.7 MB, free: 7.953 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.173, allocations: 117.9 kB / 475.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.1731, allocations: 11.91 kB / 475.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.1731, allocations: 12.36 kB / 475.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.1731, allocations: 7.938 kB / 475.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1731, allocations: 0 / 475.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1731, allocations: 3.938 kB / 475.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007794/0.1739, allocations: 424.1 kB / 476.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1739, allocations: 3.938 kB / 476.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.174, allocations: 11.98 kB / 476.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.194e-05/0.1741, allocations: 24.98 kB / 476.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1742, allocations: 4 kB / 476.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1752, allocations: 1.311 MB / 477.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1752, allocations: 3.938 kB / 477.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.1757, allocations: 237.1 kB / 477.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.1757, allocations: 85.02 kB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1758, allocations: 3.938 kB / 477.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1759, allocations: 19.97 kB / 477.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.176, allocations: 4 kB / 477.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.176, allocations: 128 / 477.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.282e-05/0.176, allocations: 103.3 kB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1761, allocations: 0 / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1764, allocations: 20 kB / 478 MB, free: 5.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.1765, allocations: 99.7 kB / 478.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.1771, allocations: 214.7 kB / 478.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1771, allocations: 0 / 478.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.1774, allocations: 158.6 kB / 478.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1778, allocations: 11.98 kB / 478.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.1784, allocations: 284.1 kB / 478.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1788, allocations: 0.7004 MB / 479.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.1788, allocations: 11.44 kB / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1789, allocations: 0 / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of Templates: time 0.004181/0.183, allocations: 1.583 MB / 481.1 MB, free: 2.172 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches