Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 113.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002409/0.00241, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2329, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005628/0.2385, allocations: 4.669 MB / 414.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002843/0.2414, allocations: 1.971 MB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.2417, allocations: 11.94 kB / 416.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.2424, allocations: 430.2 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007751/0.2432, allocations: 469.5 kB / 417.5 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.2438, allocations: 319 kB / 417.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009123/0.2448, allocations: 1.04 MB / 418.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.2451, allocations: 298.5 kB / 419.1 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.2456, allocations: 426.6 kB / 419.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005243/0.2461, allocations: 0.5138 MB / 420 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.2463, allocations: 96 kB / 420.1 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.2465, allocations: 132 kB / 420.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.2467, allocations: 247.1 kB / 420.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003603/0.247, allocations: 469.5 kB / 421 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.2481, allocations: 1.301 MB / 422.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2482, allocations: 0 / 422.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2482, allocations: 0 / 422.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.2482, allocations: 0 / 422.3 MB, free: 5.18 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002055/0.2502, allocations: 1.203 MB / 423.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2503, allocations: 8.031 kB / 423.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.2508, allocations: 123.8 kB / 423.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009444/0.2517, allocations: 0.5751 MB / 424.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.2518, allocations: 49.25 kB / 424.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.2519, allocations: 63.91 kB / 424.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.253, allocations: 0.6284 MB / 424.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.253, allocations: 7.984 kB / 424.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/0.2531, allocations: 24 kB / 424.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.2531, allocations: 19.94 kB / 425 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2542, allocations: 0.5243 MB / 425.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/0.2577, allocations: 2.532 MB / 428 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/0.2585, allocations: 480.3 kB / 428.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/0.2592, allocations: 285.4 kB / 428.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.2592, allocations: 8.438 kB / 428.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2592, allocations: 35 kB / 428.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.024e-06/0.2593, allocations: 0 / 428.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004072/0.2633, allocations: 1.446 MB / 430.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2634, allocations: 55.97 kB / 430.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2644, allocations: 0.9654 MB / 431.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.2645, allocations: 33.7 kB / 431.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.2647, allocations: 423.8 kB / 431.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.2649, allocations: 212.8 kB / 431.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2651, allocations: 126.6 kB / 432 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2652, allocations: 330 kB / 432.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.2657, allocations: 221.9 kB / 432.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.2662, allocations: 327.1 kB / 432.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.2673, allocations: 0.5518 MB / 433.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2673, allocations: 0 / 433.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001337/0.2686, allocations: 0.711 MB / 434.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2687, allocations: 4 kB / 434.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2687, allocations: 7.984 kB / 434.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2687, allocations: 4 kB / 434.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/0.2695, allocations: 163.8 kB / 434.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.2695, allocations: 11.97 kB / 434.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.27, allocations: 28.05 kB / 434.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.27, allocations: 31.98 kB / 434.4 MB, free: 8.637 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 (85): * Single equations (assignments): 85 * 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.0003049/0.2703, allocations: 277.5 kB / 434.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.2705, allocations: 86.91 kB / 434.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.2717, allocations: 0.6049 MB / 435.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.2717, allocations: 3.984 kB / 435.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2717, allocations: 4 kB / 435.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.272, allocations: 208 kB / 435.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.2721, allocations: 8 kB / 435.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.2725, allocations: 27.97 kB / 435.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.2726, allocations: 40.52 kB / 435.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001344/0.2739, allocations: 0.651 MB / 436.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001073/0.275, allocations: 0.7362 MB / 437 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004361/0.2755, allocations: 260.3 kB / 437.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007394/0.2762, allocations: 0.6943 MB / 438 MB, free: 4.992 MB / 350.1 MB Notification: Performance of Backend: time 5.01e-07/0.2762, allocations: 0 / 438 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.2782, allocations: 0.8082 MB / 438.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of SimCode: time 0.002157/0.2803, allocations: 1.839 MB / 440.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01569/0.296, allocations: 9.725 MB / 450.4 MB, free: 8.773 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches