Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 195 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.6 MB / 244.4 MB, free: 8.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007705/0.0007706, allocations: 93.77 kB / 296.4 MB, free: 7.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001935/0.0001935, allocations: 4 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.212, allocations: 51.29 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003612/0.2156, allocations: 3.994 MB / 411.5 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2179, allocations: 1.846 MB / 413.3 MB, free: 22.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.2182, allocations: 11.94 kB / 413.4 MB, free: 22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.2187, allocations: 390.7 kB / 413.7 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006045/0.2194, allocations: 411.8 kB / 414.1 MB, free: 21.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.2198, allocations: 206.8 kB / 414.3 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000654/0.2205, allocations: 0.9072 MB / 415.2 MB, free: 20.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.2208, allocations: 223.9 kB / 415.5 MB, free: 19.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.221, allocations: 334.8 kB / 415.8 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.2214, allocations: 414.5 kB / 416.2 MB, free: 19.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.2215, allocations: 36 kB / 416.2 MB, free: 19.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.2216, allocations: 67.98 kB / 416.3 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2217, allocations: 171.3 kB / 416.5 MB, free: 18.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2219, allocations: 181.3 kB / 416.6 MB, free: 18.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.2225, allocations: 0.9981 MB / 417.6 MB, free: 17.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2225, allocations: 4 kB / 417.6 MB, free: 17.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2225, allocations: 0 / 417.6 MB, free: 17.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2225, allocations: 0 / 417.6 MB, free: 17.68 MB / 298.7 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.001709/0.2242, allocations: 1.098 MB / 418.7 MB, free: 16.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2242, allocations: 12.03 kB / 418.8 MB, free: 16.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/0.2247, allocations: 122.8 kB / 418.9 MB, free: 16.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.2253, allocations: 0.5232 MB / 419.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.461e-05/0.2254, allocations: 57.25 kB / 419.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.2255, allocations: 60 kB / 419.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2266, allocations: 0.6635 MB / 420.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2266, allocations: 7.906 kB / 420.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.2267, allocations: 24 kB / 420.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.2267, allocations: 16 kB / 420.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2278, allocations: 0.5829 MB / 420.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.2307, allocations: 2.571 MB / 423.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/0.2315, allocations: 485.8 kB / 423.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.2321, allocations: 309.8 kB / 424.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.2321, allocations: 8.438 kB / 424.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.2321, allocations: 38.94 kB / 424.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.773e-06/0.2322, allocations: 0 / 424.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.004027/0.2362, allocations: 1.656 MB / 425.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.2362, allocations: 63.92 kB / 425.9 MB, free: 9.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008117/0.237, allocations: 0.9497 MB / 426.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2371, allocations: 33.7 kB / 426.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.2373, allocations: 408 kB / 427.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.2374, allocations: 201.1 kB / 427.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.2374, allocations: 16 kB / 427.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.2375, allocations: 333.9 kB / 427.8 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/0.238, allocations: 269.8 kB / 428.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.2386, allocations: 363 kB / 428.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.2392, allocations: 295.1 kB / 428.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2392, allocations: 0 / 428.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001313/0.2406, allocations: 0.7619 MB / 429.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2406, allocations: 4 kB / 429.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2406, allocations: 8.062 kB / 429.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.2406, allocations: 7.938 kB / 429.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.2413, allocations: 187.8 kB / 429.7 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.2414, allocations: 4 kB / 429.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.2419, allocations: 67.84 kB / 429.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.2419, allocations: 23.98 kB / 429.8 MB, free: 5.168 MB / 298.7 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_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 initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.2422, allocations: 261.7 kB / 430.1 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.2423, allocations: 82.97 kB / 430.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.2435, allocations: 0.671 MB / 430.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2436, allocations: 8 kB / 430.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2436, allocations: 0 / 430.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2436, allocations: 7.984 kB / 430.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.2459, allocations: 1.856 MB / 432.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2459, allocations: 4 kB / 432.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/0.2464, allocations: 148.1 kB / 432.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2464, allocations: 8 kB / 432.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.2465, allocations: 12 kB / 432.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.2465, allocations: 4 kB / 432.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2465, allocations: 7.984 kB / 432.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.2476, allocations: 0.7849 MB / 433.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.2478, allocations: 211.9 kB / 433.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.2479, allocations: 12 kB / 433.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.2483, allocations: 47.95 kB / 433.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.2484, allocations: 52.28 kB / 434 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.2484, allocations: 23.98 kB / 434 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000574/0.249, allocations: 0.6865 MB / 434.7 MB, free: 88 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.249, allocations: 0 / 434.7 MB, free: 88 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004784/0.2495, allocations: 152 kB / 434.8 MB, free: 15.93 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007232/0.2502, allocations: 368.9 kB / 435.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.2516, allocations: 0.62 MB / 435.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2516, allocations: 0 / 435.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006089/0.2522, allocations: 307.3 kB / 436.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.2529, allocations: 132 kB / 436.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.2555, allocations: 1.919 MB / 438.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.256, allocations: 0.9633 MB / 439.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.2562, allocations: 63.41 kB / 439.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2562, allocations: 0 / 439.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of Templates: time 0.01274/0.269, allocations: 9.768 MB / 448.9 MB, free: 1.855 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches