Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 98.7 kB / 16.94 MB, free: 5.984 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.001519/0.001519, allocations: 179.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004818, allocations: 23.94 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 47.57 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005059/0.1205, allocations: 3.668 MB / 332 MB, free: 412 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003348/0.1238, allocations: 1.666 MB / 333.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006059/0.1245, allocations: 12 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008855/0.1254, allocations: 382.8 kB / 334.1 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.1268, allocations: 426.8 kB / 334.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00091/0.1278, allocations: 195.6 kB / 334.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.1294, allocations: 0.632 MB / 335.3 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.13, allocations: 211.9 kB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.1307, allocations: 334.9 kB / 335.8 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007345/0.1314, allocations: 414.5 kB / 336.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.1316, allocations: 36 kB / 336.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.1318, allocations: 55.94 kB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1321, allocations: 167.4 kB / 336.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.1324, allocations: 177.2 kB / 336.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.1334, allocations: 0.9975 MB / 337.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1334, allocations: 0 / 337.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1334, allocations: 3.938 kB / 337.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.955e-05/0.1335, allocations: 0 / 337.7 MB, free: 10.71 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002481/0.136, allocations: 1.082 MB / 338.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.136, allocations: 16.03 kB / 338.8 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.1363, allocations: 94.83 kB / 338.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1374, allocations: 0.527 MB / 339.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1375, allocations: 53.3 kB / 339.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.1376, allocations: 56 kB / 339.5 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.139, allocations: 0.6596 MB / 340.1 MB, free: 8.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.1391, allocations: 3.906 kB / 340.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.1392, allocations: 24 kB / 340.2 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.1392, allocations: 19.98 kB / 340.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.1406, allocations: 0.5906 MB / 340.8 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.1446, allocations: 2.568 MB / 343.3 MB, free: 4.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009592/0.1455, allocations: 489.7 kB / 343.8 MB, free: 4.281 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.1456, allocations: 12.42 kB / 343.8 MB, free: 4.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1456, allocations: 39 kB / 343.9 MB, free: 4.223 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.696e-06/0.1456, allocations: 0 / 343.9 MB, free: 4.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=60): time 0.004702/0.1503, allocations: 1.633 MB / 345.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1505, allocations: 55.97 kB / 345.6 MB, free: 2.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.1516, allocations: 0.9496 MB / 346.5 MB, free: 1.562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.1517, allocations: 33.7 kB / 346.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.152, allocations: 404 kB / 346.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.1521, allocations: 201.1 kB / 347.1 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.1521, allocations: 8 kB / 347.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1523, allocations: 334 kB / 347.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.1529, allocations: 257.2 kB / 347.7 MB, free: 340 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.1535, allocations: 363.6 kB / 348.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.1542, allocations: 287.1 kB / 348.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1542, allocations: 0 / 348.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001632/0.1559, allocations: 0.7696 MB / 349.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1559, allocations: 11.94 kB / 349.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1559, allocations: 4 kB / 349.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.1559, allocations: 4 kB / 349.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/0.1567, allocations: 179.8 kB / 349.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.1567, allocations: 4 kB / 349.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.1573, allocations: 59.89 kB / 349.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.1574, allocations: 20 kB / 349.4 MB, free: 14.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003756/0.1578, allocations: 269.7 kB / 349.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1579, allocations: 83 kB / 349.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.1594, allocations: 0.6669 MB / 350.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.1594, allocations: 8 kB / 350.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1594, allocations: 0 / 350.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1594, allocations: 3.984 kB / 350.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.1625, allocations: 1.815 MB / 352.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.1625, allocations: 4.25 kB / 352.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.1631, allocations: 143.8 kB / 352.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.1631, allocations: 4 kB / 352.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.1632, allocations: 19.98 kB / 352.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.1632, allocations: 7.953 kB / 352.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1632, allocations: 0 / 352.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.1647, allocations: 0.8582 MB / 353.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.165, allocations: 215.9 kB / 353.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.1651, allocations: 16 kB / 353.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.1656, allocations: 51.95 kB / 353.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/0.1657, allocations: 40.33 kB / 353.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.1657, allocations: 16 kB / 353.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008655/0.1666, allocations: 0.6904 MB / 354.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1666, allocations: 0 / 354.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006027/0.1672, allocations: 152 kB / 354.4 MB, free: 9.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008279/0.1681, allocations: 369 kB / 354.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.1695, allocations: 0.6045 MB / 355.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1696, allocations: 0 / 355.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006475/0.1702, allocations: 307.2 kB / 355.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.171, allocations: 122.8 kB / 355.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.1742, allocations: 1.846 MB / 357.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.1748, allocations: 0.975 MB / 358.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004397/0.1753, allocations: 93 kB / 358.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.1755, allocations: 55.42 kB / 358.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1755, allocations: 0 / 358.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of Templates: time 0.01434/0.1898, allocations: 6.816 MB / 365.6 MB, free: 14.06 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches