Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(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_4.0.0_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_4.0.0_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.001582/0.001582, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001715/0.001716, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.328/1.328, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001886, allocations: 56.2 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1314, allocations: 49.43 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006526/0.138, allocations: 4.564 MB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.1418, allocations: 1.811 MB / 357.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004408/0.1422, allocations: 8 kB / 357.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000809/0.1431, allocations: 418.3 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007781/0.1439, allocations: 417.7 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.1445, allocations: 330 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009071/0.1454, allocations: 1.024 MB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.1458, allocations: 294.5 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.1462, allocations: 406.7 kB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.1468, allocations: 0.5061 MB / 361.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.1469, allocations: 96 kB / 361.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.1471, allocations: 128 kB / 361.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.1473, allocations: 231.2 kB / 361.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.1477, allocations: 461.6 kB / 362.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.1487, allocations: 1.269 MB / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1487, allocations: 0 / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1488, allocations: 0 / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.1488, allocations: 3.938 kB / 363.4 MB, free: 7.742 MB / 302.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.002247/0.151, allocations: 1.203 MB / 364.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1511, allocations: 8.031 kB / 364.6 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1512, allocations: 95.81 kB / 364.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.1522, allocations: 0.5589 MB / 365.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.1522, allocations: 45.69 kB / 365.3 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/0.1523, allocations: 64.12 kB / 365.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.1534, allocations: 0.6518 MB / 366 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1535, allocations: 0 / 366 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/0.1535, allocations: 24 kB / 366.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1536, allocations: 12 kB / 366.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.1548, allocations: 0.5594 MB / 366.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.1582, allocations: 2.525 MB / 369.1 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008936/0.1591, allocations: 487.3 kB / 369.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/0.1597, allocations: 294 kB / 369.9 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/0.1598, allocations: 12.42 kB / 369.9 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1598, allocations: 39 kB / 370 MB, free: 0.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 2.405e-06/0.1598, allocations: 4 kB / 370 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.1688/0.3286, allocations: 1.479 MB / 371.4 MB, free: 25.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.3287, allocations: 57.69 kB / 371.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.3299, allocations: 0.9498 MB / 372.5 MB, free: 25.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.3299, allocations: 36.39 kB / 372.5 MB, free: 25.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.3302, allocations: 401.2 kB / 372.9 MB, free: 25.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3303, allocations: 202.2 kB / 373.1 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.3305, allocations: 120.7 kB / 373.2 MB, free: 24.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.3305, allocations: 332.8 kB / 373.5 MB, free: 24.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.3311, allocations: 240.9 kB / 373.8 MB, free: 24.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.3317, allocations: 346.4 kB / 374.1 MB, free: 24.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3329, allocations: 0.5651 MB / 374.7 MB, free: 23.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3329, allocations: 1.312 kB / 374.7 MB, free: 23.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001442/0.3343, allocations: 0.7325 MB / 375.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3344, allocations: 13.81 kB / 375.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3344, allocations: 2.688 kB / 375.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.3344, allocations: 9.453 kB / 375.4 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/0.3352, allocations: 172.5 kB / 375.6 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3352, allocations: 5.344 kB / 375.6 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.3357, allocations: 41.06 kB / 375.6 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.3357, allocations: 28.11 kB / 375.7 MB, free: 23.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_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.0002706/0.336, allocations: 272.6 kB / 375.9 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3361, allocations: 82.03 kB / 376 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.3374, allocations: 0.6316 MB / 376.6 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3374, allocations: 6.781 kB / 376.6 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3374, allocations: 3.719 kB / 376.6 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.3374, allocations: 4.531 kB / 376.6 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.34, allocations: 1.799 MB / 378.4 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.34, allocations: 3.344 kB / 378.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.3406, allocations: 137.5 kB / 378.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.3406, allocations: 4.594 kB / 378.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.3407, allocations: 16.23 kB / 378.6 MB, free: 22.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.3407, allocations: 8.938 kB / 378.6 MB, free: 22.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.3407, allocations: 8.062 kB / 378.6 MB, free: 22.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.3419, allocations: 0.7423 MB / 379.4 MB, free: 21.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.3422, allocations: 205.6 kB / 379.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.3423, allocations: 16.08 kB / 379.6 MB, free: 21.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.3427, allocations: 36.05 kB / 379.6 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3429, allocations: 46.42 kB / 379.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.3429, allocations: 19.84 kB / 379.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008072/0.3437, allocations: 0.6928 MB / 380.4 MB, free: 21.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3437, allocations: 0 / 380.4 MB, free: 21.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000567/0.3443, allocations: 145.8 kB / 380.5 MB, free: 21.11 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.0007897/0.3451, allocations: 375.3 kB / 380.9 MB, free: 20.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.3463, allocations: 0.582 MB / 381.5 MB, free: 20.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3463, allocations: 0 / 381.5 MB, free: 20.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.3469, allocations: 301.1 kB / 381.8 MB, free: 20.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.3476, allocations: 135.4 kB / 381.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.3502, allocations: 1.565 MB / 383.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.3507, allocations: 0.964 MB / 384.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003904/0.3511, allocations: 95.27 kB / 384.5 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.3513, allocations: 60.8 kB / 384.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3513, allocations: 0 / 384.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of Templates: time 0.04265/0.394, allocations: 7.638 MB / 392.2 MB, free: 16.29 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches