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.001105/0.001105, allocations: 111.3 kB / 18.4 MB, free: 4.688 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.001033/0.001033, allocations: 191.2 kB / 19.35 MB, free: 3.758 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.32/1.32, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001314/0.001314, allocations: 52.39 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07442/0.07574, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005744/0.08151, allocations: 4.52 MB / 380.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1589/0.2404, allocations: 1.729 MB / 382.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/0.2411, allocations: 13.28 kB / 382.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.2419, allocations: 421.9 kB / 382.5 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008474/0.2427, allocations: 427.3 kB / 382.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.2434, allocations: 307.3 kB / 383.2 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.2446, allocations: 1.019 MB / 384.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.245, allocations: 297.8 kB / 384.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.2454, allocations: 412.3 kB / 384.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.246, allocations: 0.5051 MB / 385.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.2461, allocations: 100.9 kB / 385.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.2464, allocations: 124.3 kB / 385.7 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.2466, allocations: 239.4 kB / 385.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.2469, allocations: 456 kB / 386.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.2483, allocations: 1.271 MB / 387.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2483, allocations: 0 / 387.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2484, allocations: 0 / 387.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.2484, allocations: 1.469 kB / 387.6 MB, free: 7.879 MB / 318.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.002117/0.2505, allocations: 1.238 MB / 388.8 MB, free: 7.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2505, allocations: 9.469 kB / 388.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.2507, allocations: 102.6 kB / 389 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.2515, allocations: 0.5615 MB / 389.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.2515, allocations: 45.84 kB / 389.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.702e-05/0.2516, allocations: 62.78 kB / 389.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.2528, allocations: 0.64 MB / 390.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.2529, allocations: 9.266 kB / 390.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.2529, allocations: 28.34 kB / 390.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.253, allocations: 15.19 kB / 390.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.2542, allocations: 0.5561 MB / 390.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.2576, allocations: 2.541 MB / 393.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/0.2585, allocations: 479.4 kB / 393.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/0.2592, allocations: 299.8 kB / 394.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.2593, allocations: 10.25 kB / 394.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2593, allocations: 41.47 kB / 394.2 MB, free: 4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 1.983e-06/0.2593, allocations: 1.312 kB / 394.2 MB, free: 4 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004418/0.2638, allocations: 1.501 MB / 395.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.2638, allocations: 62.14 kB / 395.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.265, allocations: 0.9431 MB / 396.7 MB, free: 3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.2651, allocations: 40.52 kB / 396.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.2653, allocations: 407.4 kB / 397.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.2655, allocations: 220.8 kB / 397.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.2657, allocations: 117.2 kB / 397.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.2657, allocations: 333.4 kB / 397.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/0.2663, allocations: 240.5 kB / 398.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/0.2669, allocations: 344.2 kB / 398.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.268, allocations: 0.5669 MB / 399 MB, free: 1.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2681, allocations: 1.375 kB / 399 MB, free: 1.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001536/0.2696, allocations: 0.7303 MB / 399.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.2696, allocations: 15.39 kB / 399.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2697, allocations: 1.375 kB / 399.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.2697, allocations: 5.969 kB / 399.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.2705, allocations: 172.9 kB / 399.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.2705, allocations: 10.06 kB / 399.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.271, allocations: 45.38 kB / 399.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.2711, allocations: 27.81 kB / 400 MB, free: 1.176 MB / 318.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.0002873/0.2714, allocations: 265.7 kB / 400.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2715, allocations: 89.84 kB / 400.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.2729, allocations: 0.6322 MB / 400.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2729, allocations: 3.234 kB / 400.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2729, allocations: 1.188 kB / 400.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.2731, allocations: 206 kB / 401.1 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/0.2732, allocations: 6.781 kB / 401.2 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.2737, allocations: 44.62 kB / 401.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.2738, allocations: 38.19 kB / 401.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001499/0.2753, allocations: 0.6839 MB / 401.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001298/0.2766, allocations: 0.7713 MB / 402.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000541/0.2771, allocations: 258.4 kB / 402.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008163/0.278, allocations: 0.6842 MB / 403.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Backend: time 2.264e-06/0.278, allocations: 0 / 403.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.2801, allocations: 0.8152 MB / 404.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 0.002269/0.2824, allocations: 1.834 MB / 406.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of Templates: time 0.01709/0.2995, allocations: 9.435 MB / 415.7 MB, free: 6.695 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches