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.001579/0.001579, allocations: 102.3 kB / 17.74 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.001914/0.001914, allocations: 185.4 kB / 18.67 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.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009944/0.0009944, allocations: 43.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2206, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005475/0.2261, allocations: 4.575 MB / 406 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.2287, allocations: 1.804 MB / 407.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.2289, allocations: 15.88 kB / 407.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006437/0.2296, allocations: 418.3 kB / 408.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006883/0.2303, allocations: 425.7 kB / 408.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.2309, allocations: 317.4 kB / 408.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009702/0.2318, allocations: 1.02 MB / 410 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.2323, allocations: 294.6 kB / 410.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.2327, allocations: 414.6 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.2332, allocations: 0.5061 MB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.2334, allocations: 96 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.2336, allocations: 120 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.2338, allocations: 239.1 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.2342, allocations: 465.6 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.2354, allocations: 1.28 MB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2354, allocations: 0 / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2354, allocations: 0 / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2354, allocations: 4 kB / 413.3 MB, free: 12.89 MB / 334.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.002095/0.2375, allocations: 1.225 MB / 414.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2376, allocations: 8.031 kB / 414.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.2377, allocations: 104.3 kB / 414.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008761/0.2386, allocations: 0.5596 MB / 415.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.2387, allocations: 45.69 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.435e-05/0.2388, allocations: 68.12 kB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.24, allocations: 0.6402 MB / 416 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.24, allocations: 7.891 kB / 416 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.24, allocations: 28 kB / 416 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.2401, allocations: 12 kB / 416 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.2413, allocations: 0.5556 MB / 416.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.2447, allocations: 2.533 MB / 419.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009147/0.2457, allocations: 474.5 kB / 419.6 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006898/0.2464, allocations: 303.5 kB / 419.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.2464, allocations: 12.42 kB / 419.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.2465, allocations: 42.88 kB / 419.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.846e-06/0.2465, allocations: 0 / 419.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.00425/0.2507, allocations: 1.509 MB / 421.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2508, allocations: 63.97 kB / 421.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.2518, allocations: 0.938 MB / 422.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.2519, allocations: 33.7 kB / 422.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.2522, allocations: 408.7 kB / 422.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.2523, allocations: 226.1 kB / 423.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.2525, allocations: 118.6 kB / 423.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2526, allocations: 330 kB / 423.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/0.2532, allocations: 241.9 kB / 423.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.2539, allocations: 343.1 kB / 424.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.2551, allocations: 0.5713 MB / 424.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2551, allocations: 0 / 424.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001563/0.2567, allocations: 0.7386 MB / 425.4 MB, free: 452 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2567, allocations: 11.94 kB / 425.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2567, allocations: 288 / 425.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2567, allocations: 16 kB / 425.4 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.2575, allocations: 163.8 kB / 425.6 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/0.2575, allocations: 15.92 kB / 425.6 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.258, allocations: 35.97 kB / 425.7 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.2581, allocations: 27.98 kB / 425.7 MB, free: 180 kB / 334.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.0003305/0.2584, allocations: 265.8 kB / 425.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.2585, allocations: 87.41 kB / 426 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.26, allocations: 0.6358 MB / 426.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.26, allocations: 3.984 kB / 426.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.26, allocations: 0 / 426.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.2602, allocations: 204.5 kB / 426.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.2603, allocations: 12 kB / 426.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.2608, allocations: 31.97 kB / 426.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.2609, allocations: 40.44 kB / 427 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001543/0.2624, allocations: 0.6744 MB / 427.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001259/0.2637, allocations: 0.7717 MB / 428.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005347/0.2642, allocations: 268.3 kB / 428.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007428/0.265, allocations: 0.6826 MB / 429.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Backend: time 5.21e-07/0.265, allocations: 0 / 429.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.267, allocations: 0.8302 MB / 430.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of SimCode: time 0.002084/0.2691, allocations: 1.831 MB / 432 MB, free: 9.902 MB / 350.1 MB Notification: Performance of Templates: time 0.01513/0.2842, allocations: 9.445 MB / 441.4 MB, free: 0.5273 MB / 350.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