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.00173/0.00173, allocations: 109.4 kB / 18.34 MB, free: 4.676 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.001794/0.001794, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.385/1.385, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001358/0.001358, allocations: 55.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1115, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00621/0.1177, allocations: 4.517 MB / 333.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.1206, allocations: 1.743 MB / 335 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.1209, allocations: 15.94 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007852/0.1217, allocations: 422.2 kB / 335.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007901/0.1225, allocations: 425.7 kB / 335.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.1232, allocations: 303.5 kB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1242, allocations: 1.016 MB / 337.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.1247, allocations: 294.5 kB / 337.4 MB, free: 11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004002/0.1251, allocations: 410.7 kB / 337.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.1256, allocations: 0.5021 MB / 338.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.1258, allocations: 100 kB / 338.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.126, allocations: 136 kB / 338.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.1262, allocations: 227.2 kB / 338.8 MB, free: 9.641 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.1266, allocations: 457.6 kB / 339.2 MB, free: 9.191 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.1276, allocations: 1.277 MB / 340.5 MB, free: 7.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1277, allocations: 0 / 340.5 MB, free: 7.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1277, allocations: 0 / 340.5 MB, free: 7.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1277, allocations: 0 / 340.5 MB, free: 7.91 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.002224/0.1299, allocations: 1.195 MB / 341.7 MB, free: 6.664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.13, allocations: 12.02 kB / 341.7 MB, free: 6.652 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.1301, allocations: 103.7 kB / 341.8 MB, free: 6.551 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.1311, allocations: 0.5473 MB / 342.4 MB, free: 5.965 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.1311, allocations: 49.69 kB / 342.4 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1312, allocations: 68.03 kB / 342.5 MB, free: 5.848 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1324, allocations: 0.644 MB / 343.1 MB, free: 5.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.1325, allocations: 7.938 kB / 343.1 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.1325, allocations: 20 kB / 343.1 MB, free: 5.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1326, allocations: 20 kB / 343.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.1338, allocations: 0.5556 MB / 343.7 MB, free: 4.586 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.1374, allocations: 2.532 MB / 346.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.1383, allocations: 469.8 kB / 346.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.139, allocations: 294 kB / 347 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.1391, allocations: 16.42 kB / 347 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1391, allocations: 42.92 kB / 347.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.1391, allocations: 0 / 347.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004383/0.1435, allocations: 1.477 MB / 348.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.1436, allocations: 59.97 kB / 348.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.1448, allocations: 0.9496 MB / 349.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.1449, allocations: 37.7 kB / 349.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.1452, allocations: 407.8 kB / 350 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.1454, allocations: 205 kB / 350.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.1456, allocations: 118.6 kB / 350.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1458, allocations: 326 kB / 350.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.1464, allocations: 249.9 kB / 350.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.147, allocations: 347 kB / 351.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.1482, allocations: 0.5674 MB / 351.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1482, allocations: 0 / 351.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001473/0.1497, allocations: 0.7229 MB / 352.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.1497, allocations: 11.94 kB / 352.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1498, allocations: 0 / 352.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.1498, allocations: 4 kB / 352.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.1506, allocations: 175.8 kB / 352.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.1506, allocations: 11.94 kB / 352.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.1511, allocations: 40.03 kB / 352.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.1511, allocations: 27.98 kB / 352.8 MB, free: 11.26 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_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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 prepare postOptimizeDAE: time 0.0003312/0.1515, allocations: 269.6 kB / 353 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.1516, allocations: 82.91 kB / 353.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.1529, allocations: 0.632 MB / 353.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.153, allocations: 4 kB / 353.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.153, allocations: 0 / 353.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.153, allocations: 3.938 kB / 353.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.1558, allocations: 1.811 MB / 355.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.1558, allocations: 8.25 kB / 355.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.1564, allocations: 131.8 kB / 355.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.1564, allocations: 4 kB / 355.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.1564, allocations: 16 kB / 355.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.1564, allocations: 11.92 kB / 355.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1565, allocations: 4 kB / 355.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.1577, allocations: 0.7469 MB / 356.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.158, allocations: 207.9 kB / 356.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/0.1581, allocations: 16 kB / 356.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.1585, allocations: 39.95 kB / 356.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.1586, allocations: 36.39 kB / 356.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.1586, allocations: 27.88 kB / 356.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007611/0.1594, allocations: 0.6903 MB / 357.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1594, allocations: 0 / 357.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005424/0.16, allocations: 156 kB / 357.6 MB, free: 6.176 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (61): * Single equations (assignments): 61 * 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.0008921/0.1609, allocations: 362.7 kB / 358 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.1622, allocations: 0.5847 MB / 358.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1623, allocations: 0.5625 kB / 358.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.1629, allocations: 298.2 kB / 358.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.1636, allocations: 123.4 kB / 359 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.1661, allocations: 1.561 MB / 360.5 MB, free: 3.203 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.1667, allocations: 0.9668 MB / 361.5 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003606/0.167, allocations: 93.05 kB / 361.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.1672, allocations: 51.42 kB / 361.6 MB, free: 2.062 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1672, allocations: 4 kB / 361.7 MB, free: 2.059 MB / 302.1 MB Notification: Performance of Templates: time 0.01379/0.181, allocations: 7.644 MB / 369.3 MB, free: 10.4 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches