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.001487/0.001486, allocations: 103.3 kB / 17.16 MB, free: 6.316 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.00176/0.00176, allocations: 190 kB / 18.07 MB, free: 5.414 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.372/1.372, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001211/0.001211, allocations: 52.25 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1093, allocations: 46.62 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006889/0.1162, allocations: 4.532 MB / 331.1 MB, free: 336 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.1194, allocations: 1.727 MB / 332.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000664/0.1201, allocations: 15.94 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008723/0.121, allocations: 390.7 kB / 333.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009427/0.122, allocations: 386.2 kB / 333.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.1227, allocations: 271.7 kB / 333.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1238, allocations: 0.954 MB / 334.9 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/0.1242, allocations: 263.6 kB / 335.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.1247, allocations: 350.7 kB / 335.5 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.1254, allocations: 482.1 kB / 335.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.1255, allocations: 48 kB / 336 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.1257, allocations: 79.97 kB / 336.1 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.1259, allocations: 183.2 kB / 336.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.1264, allocations: 413.7 kB / 336.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1275, allocations: 1.215 MB / 337.9 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1275, allocations: 0 / 337.9 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1275, allocations: 0 / 337.9 MB, free: 9.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.792e-05/0.1276, allocations: 0 / 337.9 MB, free: 9.59 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.002653/0.1302, allocations: 1.199 MB / 339 MB, free: 8.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1303, allocations: 12.03 kB / 339.1 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.1305, allocations: 95.72 kB / 339.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008567/0.1313, allocations: 0.5435 MB / 339.7 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.1315, allocations: 45.88 kB / 339.7 MB, free: 7.602 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.1316, allocations: 67.84 kB / 339.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.1329, allocations: 0.6518 MB / 340.5 MB, free: 6.867 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.133, allocations: 4 kB / 340.5 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.133, allocations: 27.94 kB / 340.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.1331, allocations: 16 kB / 340.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1344, allocations: 0.5594 MB / 341.1 MB, free: 6.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.1383, allocations: 2.548 MB / 343.6 MB, free: 3.566 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009715/0.1393, allocations: 477.7 kB / 344.1 MB, free: 3.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006826/0.14, allocations: 294 kB / 344.4 MB, free: 2.801 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.359e-05/0.1401, allocations: 16.36 kB / 344.4 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1401, allocations: 43 kB / 344.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 1.633e-06/0.1401, allocations: 0 / 344.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004517/0.1446, allocations: 1.473 MB / 345.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1447, allocations: 63.97 kB / 346 MB, free: 1.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.1458, allocations: 0.9457 MB / 346.9 MB, free: 232 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.1458, allocations: 41.7 kB / 346.9 MB, free: 184 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.1461, allocations: 408 kB / 347.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.1463, allocations: 201 kB / 347.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.1465, allocations: 122.5 kB / 347.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1466, allocations: 334 kB / 348 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006418/0.1473, allocations: 249.8 kB / 348.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.148, allocations: 343.1 kB / 348.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.1492, allocations: 0.5674 MB / 349.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1492, allocations: 0 / 349.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001571/0.1508, allocations: 0.7345 MB / 349.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1509, allocations: 8 kB / 349.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1509, allocations: 0 / 349.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1509, allocations: 8 kB / 349.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/0.1517, allocations: 175.8 kB / 350.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.1517, allocations: 4 kB / 350.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.1523, allocations: 40.03 kB / 350.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.1523, allocations: 27.98 kB / 350.1 MB, free: 12.91 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.000337/0.1527, allocations: 261.7 kB / 350.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.1528, allocations: 86.91 kB / 350.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.1543, allocations: 0.6358 MB / 351.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.1543, allocations: 8 kB / 351.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1543, allocations: 0 / 351.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1543, allocations: 7.969 kB / 351.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/0.1573, allocations: 1.817 MB / 352.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.1573, allocations: 4 kB / 352.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.1579, allocations: 131.8 kB / 353.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.1579, allocations: 4 kB / 353.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.158, allocations: 16 kB / 353.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.158, allocations: 4 kB / 353.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.158, allocations: 4 kB / 353.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.1593, allocations: 0.7537 MB / 353.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.1596, allocations: 196 kB / 354 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.925e-05/0.1597, allocations: 20 kB / 354.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.1601, allocations: 43.89 kB / 354.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1602, allocations: 48.27 kB / 354.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.1603, allocations: 19.98 kB / 354.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008179/0.1611, allocations: 0.6904 MB / 354.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1611, allocations: 3.938 kB / 354.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.1617, allocations: 148 kB / 355 MB, free: 7.82 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.0009342/0.1626, allocations: 378.7 kB / 355.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.1647, allocations: 0.5735 MB / 356 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.1648, allocations: 4 kB / 356 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009783/0.1658, allocations: 290.2 kB / 356.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.1671, allocations: 119.7 kB / 356.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.1717, allocations: 1.883 MB / 358.2 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009751/0.1727, allocations: 0.9633 MB / 359.2 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007384/0.1734, allocations: 89.05 kB / 359.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.1738, allocations: 55.42 kB / 359.3 MB, free: 3.398 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1738, allocations: 7.938 kB / 359.4 MB, free: 3.391 MB / 302.1 MB Notification: Performance of Templates: time 0.02356/0.1974, allocations: 7.218 MB / 366.6 MB, free: 12.16 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 -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/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