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.001807/0.001807, allocations: 99.97 kB / 21.18 MB, free: 0.6562 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.002188/0.002188, allocations: 185.5 kB / 24.46 MB, free: 3.977 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.402/1.402, allocations: 225.7 MB / 253.3 MB, free: 12.84 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.001622/0.001622, allocations: 47.94 kB / 371.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2267, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006216/0.2329, allocations: 4.185 MB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003154/0.2361, allocations: 1.718 MB / 429.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.2364, allocations: 11.94 kB / 429.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.2372, allocations: 422.3 kB / 430.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000821/0.238, allocations: 417.7 kB / 430.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.2387, allocations: 331 kB / 430.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.2398, allocations: 1.02 MB / 431.9 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.2401, allocations: 193 kB / 432.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000461/0.2406, allocations: 426.6 kB / 432.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.2412, allocations: 490.2 kB / 433 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.2413, allocations: 100 kB / 433.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.2415, allocations: 120 kB / 433.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.2418, allocations: 243.1 kB / 433.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.2421, allocations: 362.2 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.2435, allocations: 1.284 MB / 435.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2435, allocations: 3.938 kB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.2435, allocations: 4 kB / 435.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.2435, allocations: 0 / 435.1 MB, free: 3.199 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.00226/0.2458, allocations: 1.15 MB / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2458, allocations: 12.03 kB / 436.2 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.246, allocations: 100.3 kB / 436.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.2469, allocations: 0.4953 MB / 436.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.247, allocations: 49.69 kB / 436.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.2471, allocations: 60.12 kB / 436.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.2484, allocations: 0.6692 MB / 437.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.2484, allocations: 7.953 kB / 437.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.2484, allocations: 20 kB / 437.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.2485, allocations: 20 kB / 437.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.2498, allocations: 0.5555 MB / 438.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.2533, allocations: 1.997 MB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/0.2543, allocations: 463.4 kB / 440.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.255, allocations: 278 kB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.2551, allocations: 4.438 kB / 440.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.2551, allocations: 42.98 kB / 441 MB, free: 13.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.445e-06/0.2551, allocations: 0 / 441 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004607/0.2597, allocations: 1.489 MB / 442.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.2598, allocations: 63.84 kB / 442.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2609, allocations: 0.8907 MB / 443.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.2609, allocations: 37.7 kB / 443.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.2612, allocations: 404.5 kB / 443.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.2614, allocations: 222.1 kB / 444.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.2616, allocations: 114.6 kB / 444.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2618, allocations: 386.8 kB / 444.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.2624, allocations: 241.9 kB / 444.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.2632, allocations: 347.1 kB / 445.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.2644, allocations: 0.5672 MB / 445.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2644, allocations: 0 / 445.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001618/0.2661, allocations: 0.7388 MB / 446.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2661, allocations: 14.44 kB / 446.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2661, allocations: 3.938 kB / 446.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.2661, allocations: 8 kB / 446.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/0.2669, allocations: 175.8 kB / 446.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.2669, allocations: 4 kB / 446.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.2675, allocations: 40 kB / 446.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.2675, allocations: 27.98 kB / 446.7 MB, free: 7.281 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.0003746/0.2679, allocations: 265.6 kB / 447 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.268, allocations: 75.53 kB / 447 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.2696, allocations: 0.63 MB / 447.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.2696, allocations: 8 kB / 447.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2696, allocations: 4 kB / 447.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.2696, allocations: 3.984 kB / 447.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.2726, allocations: 1.476 MB / 449.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.2726, allocations: 8.062 kB / 449.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/0.2732, allocations: 131.8 kB / 449.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.2732, allocations: 4 kB / 449.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.2732, allocations: 19.94 kB / 449.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.2732, allocations: 7.984 kB / 449.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.2732, allocations: 7.938 kB / 449.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.2747, allocations: 0.7378 MB / 450.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.275, allocations: 123.4 kB / 450.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/0.2751, allocations: 19.89 kB / 450.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.2755, allocations: 43.95 kB / 450.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/0.2756, allocations: 40.36 kB / 450.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.2756, allocations: 16 kB / 450.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008045/0.2764, allocations: 0.6396 MB / 451 MB, free: 2.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2764, allocations: 0 / 451 MB, free: 2.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005914/0.277, allocations: 152 kB / 451.1 MB, free: 2.742 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.001489/0.2785, allocations: 397.3 kB / 451.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.28, allocations: 0.561 MB / 452.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.28, allocations: 0 / 452.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006575/0.2807, allocations: 279.2 kB / 452.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.2814, allocations: 120.4 kB / 452.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.2844, allocations: 1.637 MB / 454.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.2848, allocations: 363 kB / 454.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.2851, allocations: 63.41 kB / 454.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2851, allocations: 0 / 454.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of Templates: time 0.01684/0.3019, allocations: 10.01 MB / 464.5 MB, free: 5.426 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.810504525899887]