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.0011/0.0011, allocations: 101 kB / 17.59 MB, free: 5.422 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.001066/0.001066, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.342/1.342, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 46.77 kB / 301.3 MB, free: 5.824 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1095, allocations: 49.45 MB / 350.7 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007197/0.1168, allocations: 4.558 MB / 355.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.1206, allocations: 1.808 MB / 357.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006815/0.1213, allocations: 12 kB / 357.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009444/0.1222, allocations: 426.2 kB / 357.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.1238, allocations: 417.7 kB / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009969/0.1248, allocations: 323 kB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.1263, allocations: 1.016 MB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005945/0.1269, allocations: 294.8 kB / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008207/0.1278, allocations: 414.7 kB / 360 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008522/0.1286, allocations: 0.5022 MB / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.1289, allocations: 96 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.1292, allocations: 131.9 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.1295, allocations: 227.2 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005883/0.1301, allocations: 465.6 kB / 361.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.1314, allocations: 1.254 MB / 362.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1314, allocations: 0 / 362.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1314, allocations: 0 / 362.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.428e-05/0.1315, allocations: 0 / 362.6 MB, free: 8.422 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.002748/0.1342, allocations: 1.206 MB / 363.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1343, allocations: 12.03 kB / 363.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.1345, allocations: 95.81 kB / 363.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.1356, allocations: 0.5511 MB / 364.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.1358, allocations: 57.86 kB / 364.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1359, allocations: 59.94 kB / 364.6 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.1373, allocations: 0.6518 MB / 365.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.1373, allocations: 0 / 365.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.927e-05/0.1374, allocations: 20 kB / 365.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.1374, allocations: 16 kB / 365.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.1388, allocations: 0.5594 MB / 365.8 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.143, allocations: 2.552 MB / 368.4 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1441, allocations: 479.3 kB / 368.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007515/0.1449, allocations: 298 kB / 369.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.1449, allocations: 4.438 kB / 369.2 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.145, allocations: 39 kB / 369.2 MB, free: 1.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 3.476e-06/0.145, allocations: 0 / 369.2 MB, free: 1.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004793/0.1498, allocations: 1.489 MB / 370.7 MB, free: 88 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1498, allocations: 55.97 kB / 370.7 MB, free: 20 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1803/0.3301, allocations: 0.9428 MB / 371.7 MB, free: 25.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.3303, allocations: 34.3 kB / 371.7 MB, free: 25.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.3306, allocations: 401 kB / 372.1 MB, free: 25.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.3308, allocations: 212.9 kB / 372.3 MB, free: 25.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.331, allocations: 119.8 kB / 372.4 MB, free: 25.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.3311, allocations: 332.1 kB / 372.8 MB, free: 24.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/0.3318, allocations: 245.6 kB / 373 MB, free: 24.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/0.3325, allocations: 348.9 kB / 373.3 MB, free: 24.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.3337, allocations: 0.5641 MB / 373.9 MB, free: 24.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3337, allocations: 1.344 kB / 373.9 MB, free: 24.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001615/0.3354, allocations: 0.7306 MB / 374.6 MB, free: 24.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3354, allocations: 6.969 kB / 374.6 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3354, allocations: 2.344 kB / 374.6 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.3354, allocations: 9.688 kB / 374.7 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.3362, allocations: 185.1 kB / 374.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3362, allocations: 7.656 kB / 374.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/0.3368, allocations: 37.42 kB / 374.9 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.3368, allocations: 28.64 kB / 374.9 MB, free: 24.02 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.000315/0.3372, allocations: 260.8 kB / 375.2 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3373, allocations: 85.16 kB / 375.2 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.3387, allocations: 0.6354 MB / 375.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.3388, allocations: 10.22 kB / 375.9 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3388, allocations: 0.5625 kB / 375.9 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3388, allocations: 3.922 kB / 375.9 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.3416, allocations: 1.811 MB / 377.7 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3416, allocations: 5.281 kB / 377.7 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.3422, allocations: 129.9 kB / 377.8 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.3422, allocations: 5.922 kB / 377.8 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.3422, allocations: 23.41 kB / 377.9 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.3422, allocations: 5.094 kB / 377.9 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3422, allocations: 4.812 kB / 377.9 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.3436, allocations: 0.7428 MB / 378.6 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.3439, allocations: 204.8 kB / 378.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.344, allocations: 19.28 kB / 378.8 MB, free: 21.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.3445, allocations: 37.41 kB / 378.9 MB, free: 21.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3446, allocations: 49.64 kB / 378.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.3447, allocations: 20.59 kB / 378.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000837/0.3455, allocations: 0.6857 MB / 379.6 MB, free: 21.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3455, allocations: 0 / 379.6 MB, free: 21.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006103/0.3461, allocations: 151.3 kB / 379.8 MB, free: 21.5 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.0008181/0.347, allocations: 380.3 kB / 380.1 MB, free: 21.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.3487, allocations: 0.6184 MB / 380.8 MB, free: 21.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3487, allocations: 0 / 380.8 MB, free: 21.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.3494, allocations: 299.3 kB / 381.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009562/0.3503, allocations: 130.8 kB / 381.2 MB, free: 20.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.3535, allocations: 1.625 MB / 382.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/0.3541, allocations: 0.9598 MB / 383.8 MB, free: 19.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.3544, allocations: 63.39 kB / 383.8 MB, free: 19.4 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3544, allocations: 0 / 383.8 MB, free: 19.4 MB / 302.1 MB Notification: Performance of Templates: time 0.01718/0.3716, allocations: 9.806 MB / 393.6 MB, free: 15.02 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 -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