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.0008535/0.0008536, allocations: 98.89 kB / 17 MB, free: 6.402 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.0008321/0.0008327, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.492/1.492, allocations: 223.3 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.229/0.229, allocations: 44.25 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 61.93 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002219/0.1514, allocations: 1.395 MB / 473 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.1516, allocations: 87.55 kB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.1517, allocations: 4 kB / 473.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.1517, allocations: 11.92 kB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.281e-05/0.1518, allocations: 19.84 kB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.106e-05/0.1519, allocations: 15.98 kB / 473.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.152, allocations: 99.64 kB / 473.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1522, allocations: 35.83 kB / 473.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.47e-05/0.1522, allocations: 43.83 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.1523, allocations: 39.84 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1523, allocations: 8 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.1524, allocations: 4 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.1524, allocations: 19.92 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.1524, allocations: 41.64 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.1525, allocations: 84.03 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1526, allocations: 0 / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1526, allocations: 4 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1526, allocations: 0 / 473.5 MB, free: 11.8 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.0006348/0.1532, allocations: 407 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.1533, allocations: 12.03 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.1533, allocations: 7.906 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1535, allocations: 178.9 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1535, allocations: 8 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1536, allocations: 15.95 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.1539, allocations: 129.6 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1539, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.154, allocations: 4 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.154, allocations: 4 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.1543, allocations: 127.8 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/0.1551, allocations: 491.3 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.1554, allocations: 98.52 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.1556, allocations: 76.94 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1556, allocations: 0 / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.1557, allocations: 38.52 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.1557, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008459/0.1565, allocations: 299.4 kB / 475.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.1566, allocations: 55.34 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1567, allocations: 125.8 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1568, allocations: 25.7 kB / 475.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.1569, allocations: 120 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1569, allocations: 15.72 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1569, allocations: 0 / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1571, allocations: 322.8 kB / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.1572, allocations: 43.97 kB / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.1574, allocations: 70.47 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1576, allocations: 51.97 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1576, allocations: 3.953 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003826/0.158, allocations: 166.4 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.158, allocations: 4 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.158, allocations: 4 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.1582, allocations: 24.91 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1583, allocations: 23.98 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.1594, allocations: 1.3 MB / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1596, allocations: 19.92 kB / 477.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1596, allocations: 7.953 kB / 477.7 MB, free: 7.172 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1597, allocations: 121.8 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.1597, allocations: 8.062 kB / 477.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.1597, allocations: 8.516 kB / 477.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1597, allocations: 7.984 kB / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1598, allocations: 0 / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1598, allocations: 3.984 kB / 477.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.1604, allocations: 448.3 kB / 478.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1604, allocations: 4 kB / 478.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.1605, allocations: 20.02 kB / 478.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.559e-05/0.1606, allocations: 24.84 kB / 478.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1606, allocations: 3.953 kB / 478.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008973/0.1615, allocations: 1.3 MB / 479.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1616, allocations: 3.984 kB / 479.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.162, allocations: 265.1 kB / 479.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.162, allocations: 88.95 kB / 480 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.1621, allocations: 0 / 480 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1622, allocations: 19.98 kB / 480 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.1622, allocations: 11.98 kB / 480 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1622, allocations: 0 / 480 MB, free: 4.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.1623, allocations: 95.27 kB / 480.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1623, allocations: 0 / 480.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1626, allocations: 20 kB / 480.1 MB, free: 4.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001146/0.1627, allocations: 99.25 kB / 480.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.1632, allocations: 230.6 kB / 480.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1632, allocations: 0 / 480.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.1635, allocations: 174.7 kB / 480.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1638, allocations: 15.64 kB / 480.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.1643, allocations: 266.4 kB / 480.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1645, allocations: 0.6926 MB / 481.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.1646, allocations: 12.16 kB / 481.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.1646, allocations: 7.438 kB / 481.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1646, allocations: 7.938 kB / 481.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of Templates: time 0.003405/0.1681, allocations: 0.9053 MB / 482.5 MB, free: 2.008 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/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