Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [: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.0009886/0.0009883, allocations: 176.9 kB / 8.475 MB, free: 1.879 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.184/1.184, allocations: 205.2 MB / 214.1 MB, free: 5.5 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000888/0.0008881, allocations: 83.39 kB / 262.1 MB, free: 5.551 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.112e-06/6.142e-06, allocations: 4 kB / 315 MB, free: 41.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06799/0.06801, allocations: 47.58 MB / 362.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.2937, allocations: 88.12 MB / 450.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.2939, allocations: 90.45 kB / 450.8 MB, free: 9.359 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Magnetic/FluxTubes.mo:1363:11-1363:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd: time 0.05962/0.3535, allocations: 21.66 MB / 472.4 MB, free: 1.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.939e-05/0.3536, allocations: 28 kB / 472.4 MB, free: 1.477 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003228/0.3569, allocations: 1.251 MB / 473.7 MB, free: 260 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3569, allocations: 12.03 kB / 473.7 MB, free: 248 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.3572, allocations: 134.4 kB / 473.8 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.3588, allocations: 0.6474 MB / 474.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.359, allocations: 53.98 kB / 474.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.3592, allocations: 52 kB / 474.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002279/0.3615, allocations: 0.72 MB / 475.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.3637, allocations: 0.8003 MB / 476.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.3637, allocations: 7.906 kB / 476.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.3638, allocations: 0 / 476.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.3638, allocations: 24 kB / 476.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008409/0.3722, allocations: 3.707 MB / 479.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.3742, allocations: 0.559 MB / 480.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.375, allocations: 357.8 kB / 480.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.311e-05/0.3751, allocations: 12.23 kB / 480.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3752, allocations: 46.17 kB / 480.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=68): time 5.641e-06/0.3752, allocations: 4 kB / 480.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=86): time 0.004308/0.3795, allocations: 1.386 MB / 482.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.3796, allocations: 93.53 kB / 482.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.381, allocations: 0.6885 MB / 483 MB, free: 9.199 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.3811, allocations: 25.7 kB / 483 MB, free: 9.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.3814, allocations: 420.3 kB / 483.4 MB, free: 8.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.3817, allocations: 279.4 kB / 483.7 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.3818, allocations: 0 / 483.7 MB, free: 8.559 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.382, allocations: 397.4 kB / 484.1 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/0.3828, allocations: 277 kB / 484.3 MB, free: 8.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008944/0.3837, allocations: 437.4 kB / 484.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008753/0.3845, allocations: 325.8 kB / 485.1 MB, free: 7.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.3846, allocations: 7.906 kB / 485.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002345/0.3869, allocations: 0.8325 MB / 485.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.387, allocations: 8.031 kB / 485.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.387, allocations: 4 kB / 485.9 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/0.387, allocations: 8 kB / 486 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/0.3896, allocations: 370 kB / 486.3 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/0.3897, allocations: 19.84 kB / 486.3 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.3914, allocations: 107.9 kB / 486.4 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.3915, allocations: 37.42 kB / 486.5 MB, free: 6.395 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0002802/0.3918, allocations: 130 kB / 486.6 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.3921, allocations: 94.86 kB / 486.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.3931, allocations: 325.6 kB / 487 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.3932, allocations: 12 kB / 487 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3932, allocations: 4 kB / 487 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.3932, allocations: 7.922 kB / 487 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006224/0.3995, allocations: 2.66 MB / 489.7 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.3995, allocations: 12 kB / 489.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/0.4013, allocations: 288 kB / 490 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.91e-05/0.4013, allocations: 16 kB / 490 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/0.4014, allocations: 19.98 kB / 490 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.268e-05/0.4014, allocations: 19.94 kB / 490 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-05/0.4015, allocations: 19.88 kB / 490.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002347/0.4038, allocations: 1.615 MB / 491.7 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/0.4042, allocations: 204 kB / 491.9 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.4045, allocations: 15.91 kB / 491.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.4059, allocations: 75.94 kB / 492 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.406, allocations: 87.61 kB / 492.1 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/0.4061, allocations: 35.98 kB / 492.1 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001091/0.4072, allocations: 0.5265 MB / 492.6 MB, free: 376 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001517/0.4088, allocations: 196 kB / 492.8 MB, free: 180 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0009161/0.4097, allocations: 316.7 kB / 493.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.4115, allocations: 0.6637 MB / 493.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.4115, allocations: 5 kB / 493.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.4126, allocations: 380 kB / 494.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.4141, allocations: 172.8 kB / 494.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.4189, allocations: 1.542 MB / 495.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.4204, allocations: 1.145 MB / 497 MB, free: 11.79 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4204, allocations: 4 kB / 497 MB, free: 11.79 MB / 346.7 MB Notification: Performance of Templates: time 0.03217/0.4526, allocations: 10.82 MB / 0.4959 GB, free: 0.9922 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches