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.001321/0.001321, allocations: 116.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2125, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005808/0.2183, allocations: 4.654 MB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.2215, allocations: 1.979 MB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.222, allocations: 11.94 kB / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007722/0.2228, allocations: 430.2 kB / 417 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2238, allocations: 469.5 kB / 417.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.2246, allocations: 323.1 kB / 417.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.2257, allocations: 1.036 MB / 418.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.2262, allocations: 306.5 kB / 419.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.2268, allocations: 426.6 kB / 419.5 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.2273, allocations: 0.5138 MB / 420 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.2275, allocations: 96 kB / 420.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.2277, allocations: 136 kB / 420.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.2279, allocations: 243.1 kB / 420.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.2283, allocations: 469.5 kB / 421 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.2294, allocations: 1.298 MB / 422.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2294, allocations: 0 / 422.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.2294, allocations: 0 / 422.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.2295, allocations: 0 / 422.3 MB, free: 5.211 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.002034/0.2315, allocations: 1.207 MB / 423.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2315, allocations: 8.031 kB / 423.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.232, allocations: 123.8 kB / 423.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/0.2329, allocations: 0.579 MB / 424.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.2329, allocations: 45.31 kB / 424.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.233, allocations: 59.91 kB / 424.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.2342, allocations: 0.6323 MB / 424.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.2342, allocations: 0 / 424.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.2343, allocations: 28 kB / 424.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2343, allocations: 12 kB / 424.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.2354, allocations: 0.5282 MB / 425.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.2389, allocations: 2.536 MB / 428 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/0.2398, allocations: 472.3 kB / 428.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.2404, allocations: 293.2 kB / 428.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.2405, allocations: 12.42 kB / 428.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.2405, allocations: 35 kB / 428.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.763e-06/0.2405, allocations: 0 / 428.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004138/0.2447, allocations: 1.442 MB / 430.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2447, allocations: 63.97 kB / 430.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.2458, allocations: 0.9576 MB / 431.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.2458, allocations: 37.64 kB / 431.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.2461, allocations: 427.8 kB / 431.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.2463, allocations: 212.8 kB / 431.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.2465, allocations: 118.6 kB / 432 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2466, allocations: 330 kB / 432.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/0.2471, allocations: 229.9 kB / 432.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.2477, allocations: 323.1 kB / 432.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2488, allocations: 0.5479 MB / 433.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2488, allocations: 0 / 433.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001399/0.2502, allocations: 0.7149 MB / 434.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2503, allocations: 4 kB / 434.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2503, allocations: 4 kB / 434.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2503, allocations: 4 kB / 434.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.251, allocations: 167.8 kB / 434.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.2511, allocations: 8 kB / 434.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.2516, allocations: 36.03 kB / 434.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.2516, allocations: 24 kB / 434.4 MB, free: 8.668 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.000312/0.2519, allocations: 277.5 kB / 434.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2521, allocations: 86.91 kB / 434.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.2534, allocations: 0.6088 MB / 435.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2534, allocations: 3.984 kB / 435.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2534, allocations: 0 / 435.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.2536, allocations: 200 kB / 435.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2538, allocations: 12 kB / 435.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.2542, allocations: 27.97 kB / 435.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/0.2543, allocations: 36.52 kB / 435.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001434/0.2557, allocations: 0.6588 MB / 436.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001171/0.2569, allocations: 0.7362 MB / 437 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004766/0.2574, allocations: 252.3 kB / 437.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000792/0.2582, allocations: 0.7021 MB / 438 MB, free: 5.023 MB / 350.1 MB Notification: Performance of Backend: time 4.21e-07/0.2582, allocations: 0 / 438 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.2603, allocations: 0.8034 MB / 438.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of SimCode: time 0.00233/0.2626, allocations: 1.839 MB / 440.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of Templates: time 0.01662/0.2792, allocations: 9.735 MB / 450.4 MB, free: 8.801 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