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.0009919/0.0009917, allocations: 101.1 kB / 16.5 MB, free: 6.641 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.001084/0.001084, allocations: 194.6 kB / 17.42 MB, free: 6.066 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.24/1.24, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009999/0.0009999, allocations: 51.19 kB / 300 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.08788, allocations: 49.44 MB / 349.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005423/0.09334, allocations: 4.597 MB / 354 MB, free: 244 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.09571, allocations: 1.78 MB / 355.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.09593, allocations: 15.94 kB / 355.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.09659, allocations: 394.7 kB / 356.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006004/0.0972, allocations: 386.1 kB / 356.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.09772, allocations: 288.6 kB / 356.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.09854, allocations: 0.9539 MB / 357.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.0989, allocations: 263.7 kB / 358 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.09924, allocations: 354.6 kB / 358.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.09971, allocations: 478.2 kB / 358.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-05/0.09981, allocations: 48 kB / 358.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.09998, allocations: 72 kB / 359 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1002, allocations: 191.2 kB / 359.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.1005, allocations: 413.6 kB / 359.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009004/0.1014, allocations: 1.207 MB / 360.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1014, allocations: 0 / 360.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1014, allocations: 0 / 360.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1014, allocations: 0 / 360.8 MB, free: 9.43 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.002098/0.1035, allocations: 1.215 MB / 362 MB, free: 8.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1036, allocations: 8.031 kB / 362 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.1037, allocations: 99.75 kB / 362.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.1045, allocations: 0.5473 MB / 362.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1046, allocations: 53.86 kB / 362.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.1047, allocations: 63.94 kB / 362.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1059, allocations: 0.6479 MB / 363.4 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.106, allocations: 4 kB / 363.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.106, allocations: 24 kB / 363.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.106, allocations: 12 kB / 363.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1073, allocations: 0.5633 MB / 364 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.1107, allocations: 2.54 MB / 366.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/0.1117, allocations: 473.6 kB / 367 MB, free: 2.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006574/0.1123, allocations: 298 kB / 367.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.1124, allocations: 8.422 kB / 367.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1124, allocations: 43 kB / 367.4 MB, free: 2.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 1.593e-06/0.1124, allocations: 0 / 367.4 MB, free: 2.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004432/0.1169, allocations: 1.481 MB / 368.8 MB, free: 1.098 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1169, allocations: 55.97 kB / 368.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.118, allocations: 0.9497 MB / 369.8 MB, free: 76 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.1181, allocations: 37.7 kB / 369.9 MB, free: 32 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1534/0.2715, allocations: 398.1 kB / 370.3 MB, free: 25.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.2718, allocations: 204.1 kB / 370.5 MB, free: 25.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.272, allocations: 121.1 kB / 370.6 MB, free: 25.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.2721, allocations: 332.7 kB / 370.9 MB, free: 25.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/0.2727, allocations: 244.9 kB / 371.1 MB, free: 25.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.2734, allocations: 351 kB / 371.5 MB, free: 25.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.2745, allocations: 0.5659 MB / 372.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2745, allocations: 1.125 kB / 372.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001529/0.2761, allocations: 0.7394 MB / 372.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2761, allocations: 5.688 kB / 372.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2761, allocations: 3.375 kB / 372.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2761, allocations: 10.78 kB / 372.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/0.2769, allocations: 169.3 kB / 373 MB, free: 24.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.277, allocations: 5.406 kB / 373 MB, free: 24.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.2775, allocations: 43.66 kB / 373 MB, free: 24.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.2776, allocations: 23.12 kB / 373 MB, free: 24.53 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.0002807/0.2779, allocations: 267.5 kB / 373.3 MB, free: 24.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.278, allocations: 79.81 kB / 373.4 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.2793, allocations: 0.6319 MB / 374 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.2794, allocations: 17.25 kB / 374 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2794, allocations: 2.25 kB / 374 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.2794, allocations: 2.859 kB / 374 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.282, allocations: 1.817 MB / 375.9 MB, free: 22.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.282, allocations: 2.75 kB / 375.9 MB, free: 22.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.2826, allocations: 141.8 kB / 376 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2826, allocations: 4.125 kB / 376 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.2826, allocations: 20.92 kB / 376 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.2826, allocations: 4.688 kB / 376 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2826, allocations: 6.688 kB / 376 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.2838, allocations: 0.7392 MB / 376.8 MB, free: 22.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.284, allocations: 205.5 kB / 377 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.2841, allocations: 21.38 kB / 377 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.2845, allocations: 41.77 kB / 377 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.2846, allocations: 37.86 kB / 377.1 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.2847, allocations: 20.02 kB / 377.1 MB, free: 22.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006951/0.2854, allocations: 0.6866 MB / 377.8 MB, free: 22.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2854, allocations: 0 / 377.8 MB, free: 22.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005169/0.2859, allocations: 151.5 kB / 377.9 MB, free: 22.02 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.0007531/0.2867, allocations: 370.3 kB / 378.3 MB, free: 21.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.2879, allocations: 0.5818 MB / 378.9 MB, free: 21.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.288, allocations: 0 / 378.9 MB, free: 21.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.2886, allocations: 296.6 kB / 379.2 MB, free: 21.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.2893, allocations: 122.1 kB / 379.3 MB, free: 21.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.2916, allocations: 1.881 MB / 381.2 MB, free: 20.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.292, allocations: 0.9635 MB / 382.1 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004099/0.2924, allocations: 96.11 kB / 382.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.2926, allocations: 55.08 kB / 382.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2926, allocations: 1.312 kB / 382.3 MB, free: 19.65 MB / 302.1 MB Notification: Performance of Templates: time 0.01251/0.3051, allocations: 7.218 MB / 389.5 MB, free: 17.28 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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