Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.00104, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001435, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.7 MB / 246.8 MB, free: 9.773 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2813/0.2813, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003093, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 63.57 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003021/0.148, allocations: 2.151 MB / 485.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1496, allocations: 1.059 MB / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.1497, allocations: 4 kB / 486.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.15, allocations: 115.6 kB / 486.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.1503, allocations: 87.52 kB / 486.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008497/0.1512, allocations: 454.5 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.1515, allocations: 219 kB / 487.2 MB, free: 36 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009362/0.1524, allocations: 0.5071 MB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1526, allocations: 87.64 kB / 487.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1527, allocations: 111.5 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1528, allocations: 8 kB / 487.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.153, allocations: 139.8 kB / 488 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.1531, allocations: 39.83 kB / 488 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1532, allocations: 121.2 kB / 488.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.1536, allocations: 387 kB / 488.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1536, allocations: 4 kB / 488.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1536, allocations: 3.938 kB / 488.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1537, allocations: 0 / 488.6 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001219/0.1549, allocations: 0.5774 MB / 489.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1549, allocations: 8.875 kB / 489.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.1553, allocations: 52.66 kB / 489.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1555, allocations: 196 kB / 489.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1555, allocations: 20.94 kB / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.1555, allocations: 24.38 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.1561, allocations: 303.7 kB / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1562, allocations: 3.906 kB / 489.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.1562, allocations: 12 kB / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1562, allocations: 4 kB / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.1568, allocations: 253.6 kB / 490 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.1583, allocations: 0.9975 MB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.1588, allocations: 399.1 kB / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.1591, allocations: 145.7 kB / 491.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.1593, allocations: 166.2 kB / 491.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1594, allocations: 42.55 kB / 491.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.1594, allocations: 0 / 491.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001214/0.1606, allocations: 0.5268 MB / 492.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1607, allocations: 81.11 kB / 492.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1608, allocations: 139.7 kB / 492.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1608, allocations: 25.7 kB / 492.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.1609, allocations: 152 kB / 492.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.161, allocations: 63.12 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.161, allocations: 29.7 kB / 492.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1612, allocations: 322.9 kB / 493 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.1614, allocations: 79.89 kB / 493.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.1617, allocations: 137.8 kB / 493.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/0.1622, allocations: 232.3 kB / 493.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1622, allocations: 0 / 493.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000644/0.1628, allocations: 306.8 kB / 493.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1629, allocations: 8 kB / 493.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1629, allocations: 0 / 493.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.1631, allocations: 49.69 kB / 493.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.1633, allocations: 51.91 kB / 493.9 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.1655, allocations: 2.631 MB / 496.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.1656, allocations: 43.69 kB / 496.6 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1657, allocations: 12 kB / 496.6 MB, free: 5.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.1658, allocations: 137.9 kB / 496.7 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.1659, allocations: 12.03 kB / 496.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.1666, allocations: 287.2 kB / 497 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1666, allocations: 4 kB / 497 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1666, allocations: 0 / 497 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.1667, allocations: 7.922 kB / 497 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.1678, allocations: 0.6654 MB / 497.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1679, allocations: 0 / 497.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.168, allocations: 47.91 kB / 497.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.1682, allocations: 53.75 kB / 497.8 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1682, allocations: 4 kB / 497.8 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.1702, allocations: 2.642 MB / 0.4887 GB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1702, allocations: 0 / 0.4887 GB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/0.1712, allocations: 0.5478 MB / 0.4892 GB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.1713, allocations: 100.9 kB / 0.4893 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1713, allocations: 4.062 kB / 0.4893 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.1715, allocations: 23.92 kB / 0.4894 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.1716, allocations: 23.97 kB / 0.4894 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1716, allocations: 7.938 kB / 0.4894 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.787e-05/0.1717, allocations: 103.3 kB / 0.4895 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1717, allocations: 0 / 0.4895 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004908/0.1722, allocations: 75.78 kB / 0.4896 GB, free: 0.7539 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.000281/0.1725, allocations: 127.2 kB / 0.4897 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007786/0.1733, allocations: 444.4 kB / 0.4901 GB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1733, allocations: 0 / 0.4901 GB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.1737, allocations: 337.4 kB / 0.4904 GB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.1741, allocations: 12 kB / 0.4904 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.1751, allocations: 0.5902 MB / 0.491 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.1755, allocations: 0.7438 MB / 0.4917 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.254e-05/0.1756, allocations: 9.438 kB / 0.4917 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.1756, allocations: 15.44 kB / 0.4918 GB, free: 14.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1756, allocations: 3.938 kB / 0.4918 GB, free: 14.37 MB / 382.1 MB Notification: Performance of Templates: time 0.005315/0.181, allocations: 2.164 MB / 0.4939 GB, free: 12.21 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches