Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002504/0.002504, allocations: 173.1 kB / 8.149 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.2 MB / 213.7 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002435/0.002435, allocations: 88.02 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/9.007e-06, allocations: 0 / 314.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2445, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.3876, allocations: 86.16 MB / 448 MB, free: 15.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.3879, allocations: 83.95 kB / 448.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06801/0.4559, allocations: 15.41 MB / 463.5 MB, free: 460 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.645e-05/0.4561, allocations: 23.94 kB / 463.5 MB, free: 436 kB / 346.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.00299/0.4591, allocations: 0.9852 MB / 464.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4591, allocations: 8.031 kB / 464.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.4595, allocations: 98.78 kB / 464.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.461, allocations: 0.5271 MB / 465.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.4612, allocations: 33.31 kB / 465.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.4613, allocations: 32 kB / 465.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001637/0.463, allocations: 478.5 kB / 465.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.4645, allocations: 0.5204 MB / 466.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.413e-05/0.4646, allocations: 8 kB / 466.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.4647, allocations: 1.688 kB / 466.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.4647, allocations: 12 kB / 466.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006974/0.4717, allocations: 2.543 MB / 468.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.4727, allocations: 319.2 kB / 469.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008881/0.4736, allocations: 258.5 kB / 469.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-05/0.4737, allocations: 8.422 kB / 469.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.4738, allocations: 39 kB / 469.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 3.256e-06/0.4738, allocations: 4 kB / 469.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.003772/0.4776, allocations: 0.9489 MB / 470.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4777, allocations: 60.06 kB / 470.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.4795, allocations: 0.7534 MB / 471.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.4796, allocations: 25.7 kB / 471.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.4799, allocations: 322.2 kB / 471.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.4801, allocations: 212.7 kB / 471.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.4802, allocations: 0 / 471.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4804, allocations: 342.8 kB / 472 MB, free: 7.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006349/0.481, allocations: 185.6 kB / 472.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007332/0.4817, allocations: 288.3 kB / 472.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007016/0.4825, allocations: 235.1 kB / 472.7 MB, free: 6.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4825, allocations: 0 / 472.7 MB, free: 6.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001682/0.4842, allocations: 0.5503 MB / 473.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.4842, allocations: 10.03 kB / 473.3 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4842, allocations: 0 / 473.3 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.4843, allocations: 8 kB / 473.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.4861, allocations: 208 kB / 473.5 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.4861, allocations: 4 kB / 473.5 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009034/0.4871, allocations: 48.8 kB / 473.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.4872, allocations: 31.92 kB / 473.6 MB, free: 6.047 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0001788/0.4873, allocations: 40.42 kB / 473.6 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.4876, allocations: 86.91 kB / 473.7 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.4894, allocations: 0.5185 MB / 474.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4895, allocations: 8 kB / 474.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4895, allocations: 0 / 474.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.4895, allocations: 5.203 kB / 474.2 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/0.4942, allocations: 1.748 MB / 476 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.4942, allocations: 4 kB / 476 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.4956, allocations: 159.9 kB / 476.1 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/0.4956, allocations: 4 kB / 476.1 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.4957, allocations: 7.906 kB / 476.1 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.4957, allocations: 4 kB / 476.1 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4957, allocations: 4 kB / 476.1 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001625/0.4973, allocations: 0.7841 MB / 476.9 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/0.498, allocations: 240 kB / 477.2 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.4982, allocations: 4 kB / 477.2 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009976/0.4992, allocations: 47.95 kB / 477.2 MB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.4993, allocations: 48.3 kB / 477.3 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/0.4994, allocations: 24.55 kB / 477.3 MB, free: 2.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001314/0.5007, allocations: 0.5851 MB / 477.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001037/0.5018, allocations: 156 kB / 478 MB, free: 1.328 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.0008495/0.5027, allocations: 300.1 kB / 478.3 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.5042, allocations: 490 kB / 478.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.5042, allocations: 0 / 478.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.505, allocations: 269.7 kB / 479 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5061, allocations: 92.19 kB / 479.1 MB, free: 240 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.5102, allocations: 1.234 MB / 480.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.5116, allocations: 1.062 MB / 481.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5117, allocations: 0 / 481.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of Templates: time 0.02434/0.536, allocations: 9.995 MB / 491.4 MB, free: 3.84 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches