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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 43.94 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2542, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005963/0.2602, allocations: 4.193 MB / 427.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.2632, allocations: 1.722 MB / 429 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.2634, allocations: 11.94 kB / 429 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.2642, allocations: 418.3 kB / 429.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008183/0.265, allocations: 417.7 kB / 429.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.2657, allocations: 321.7 kB / 430.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2668, allocations: 1.02 MB / 431.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.2671, allocations: 195.1 kB / 431.3 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.2676, allocations: 418.7 kB / 431.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.2682, allocations: 494.2 kB / 432.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.2683, allocations: 96 kB / 432.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.2685, allocations: 120 kB / 432.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.2688, allocations: 243.1 kB / 432.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.2691, allocations: 366.2 kB / 433 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.2704, allocations: 1.283 MB / 434.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2704, allocations: 4 kB / 434.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2704, allocations: 4 kB / 434.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.2705, allocations: 0 / 434.3 MB, free: 3.172 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.002275/0.2727, allocations: 1.15 MB / 435.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2728, allocations: 12.03 kB / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.2729, allocations: 100.3 kB / 435.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009618/0.2739, allocations: 0.4915 MB / 436.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.2739, allocations: 49.69 kB / 436.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.274, allocations: 64.08 kB / 436.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.2753, allocations: 0.673 MB / 436.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.2753, allocations: 4 kB / 436.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.2754, allocations: 24 kB / 436.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.2754, allocations: 16 kB / 436.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.2767, allocations: 0.5594 MB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003505/0.2802, allocations: 1.993 MB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.2812, allocations: 467.3 kB / 439.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007242/0.2819, allocations: 278 kB / 440.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.2819, allocations: 4.438 kB / 440.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.282, allocations: 42.98 kB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.364e-06/0.282, allocations: 3.938 kB / 440.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004617/0.2866, allocations: 1.497 MB / 441.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.2866, allocations: 55.91 kB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.2878, allocations: 0.8868 MB / 442.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.2878, allocations: 33.7 kB / 442.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.2881, allocations: 412.5 kB / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.2883, allocations: 222.1 kB / 443.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.2885, allocations: 114.6 kB / 443.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.2887, allocations: 386.8 kB / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/0.2893, allocations: 249.8 kB / 444.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.29, allocations: 343.1 kB / 444.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.2913, allocations: 0.5633 MB / 444.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2913, allocations: 4 kB / 445 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001657/0.293, allocations: 0.735 MB / 445.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.293, allocations: 4 kB / 445.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.293, allocations: 7.938 kB / 445.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.293, allocations: 4 kB / 445.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008166/0.2938, allocations: 171.8 kB / 445.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.2939, allocations: 4 kB / 445.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.2944, allocations: 44.03 kB / 445.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.2945, allocations: 23.98 kB / 445.9 MB, free: 7.258 MB / 350.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.0004877/0.295, allocations: 265.7 kB / 446.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.2951, allocations: 75.53 kB / 446.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.2967, allocations: 0.6338 MB / 446.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2967, allocations: 8 kB / 446.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2967, allocations: 0 / 446.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2967, allocations: 3.984 kB / 446.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.2996, allocations: 1.484 MB / 448.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.2996, allocations: 4 kB / 448.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.3002, allocations: 131.8 kB / 448.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/0.3002, allocations: 4 kB / 448.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.3003, allocations: 19.94 kB / 448.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.3003, allocations: 7.984 kB / 448.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.3003, allocations: 15.88 kB / 448.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.3018, allocations: 0.7419 MB / 449.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.302, allocations: 123.5 kB / 449.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/0.3021, allocations: 19.89 kB / 449.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.3026, allocations: 43.95 kB / 449.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/0.3027, allocations: 44.3 kB / 449.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.3027, allocations: 20 kB / 449.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008644/0.3036, allocations: 0.6357 MB / 450.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3036, allocations: 0 / 450.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000595/0.3042, allocations: 152 kB / 450.4 MB, free: 2.699 MB / 350.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.001453/0.3056, allocations: 390.6 kB / 450.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.3071, allocations: 0.557 MB / 451.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3071, allocations: 0 / 451.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.3078, allocations: 279.4 kB / 451.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.3085, allocations: 118.6 kB / 451.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.3114, allocations: 1.593 MB / 453.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.3118, allocations: 363 kB / 453.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004001/0.3122, allocations: 96.8 kB / 453.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.3124, allocations: 55.42 kB / 453.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3124, allocations: 0 / 453.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Templates: time 0.01626/0.3287, allocations: 8.401 MB / 462.2 MB, free: 7.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.927719609811902]