Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001775/0.001775, allocations: 175.2 kB / 8.149 MB, free: 2.203 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.721/1.721, allocations: 205.2 MB / 213.8 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.001838/0.001838, allocations: 89.7 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.106e-06, allocations: 0 / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2539, allocations: 47.55 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.3948, allocations: 88.13 MB / 450 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/0.3952, allocations: 90.02 kB / 450.1 MB, free: 13.82 MB / 346.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.09754/0.4927, allocations: 21.66 MB / 471.7 MB, free: 8.172 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.754e-05/0.4929, allocations: 31.98 kB / 471.7 MB, free: 8.141 MB / 362.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.004761/0.4977, allocations: 1.244 MB / 473 MB, free: 6.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4977, allocations: 8.031 kB / 473 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.4983, allocations: 134.4 kB / 473.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.5004, allocations: 0.657 MB / 473.8 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.5007, allocations: 53.98 kB / 473.8 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.501, allocations: 56.59 kB / 473.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002747/0.5037, allocations: 0.7186 MB / 474.6 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.5065, allocations: 0.7984 MB / 475.4 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/0.5066, allocations: 11.84 kB / 475.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.5067, allocations: 0 / 475.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.5067, allocations: 24 kB / 475.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.5178, allocations: 3.698 MB / 479.1 MB, free: 468 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.5204, allocations: 0.5706 MB / 479.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.5216, allocations: 350.7 kB / 480.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.468e-05/0.5217, allocations: 12.55 kB / 480.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.5217, allocations: 47.11 kB / 480.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 3.586e-06/0.5218, allocations: 3.938 kB / 480.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.005323/0.5271, allocations: 1.387 MB / 481.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.5272, allocations: 93.53 kB / 481.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.5289, allocations: 0.6833 MB / 482.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.5291, allocations: 29.7 kB / 482.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.5295, allocations: 437.3 kB / 482.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.5299, allocations: 279.9 kB / 483 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.559e-05/0.53, allocations: 0 / 483 MB, free: 12.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.5302, allocations: 342.8 kB / 483.3 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009559/0.5311, allocations: 285.9 kB / 483.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.5322, allocations: 432.8 kB / 484 MB, free: 11.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.5333, allocations: 326.8 kB / 484.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.5333, allocations: 3.906 kB / 484.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002554/0.5359, allocations: 0.7885 MB / 485.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.536, allocations: 12.09 kB / 485.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.536, allocations: 4 kB / 485.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.762e-05/0.536, allocations: 8 kB / 485.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/0.5393, allocations: 367.5 kB / 485.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-05/0.5393, allocations: 15.88 kB / 485.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.5409, allocations: 103.9 kB / 485.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.5411, allocations: 31.98 kB / 485.7 MB, free: 9.762 MB / 378.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.0002601/0.5413, allocations: 53.45 kB / 485.7 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.5417, allocations: 90.88 kB / 485.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.5429, allocations: 321.4 kB / 486.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.5429, allocations: 8 kB / 486.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.5429, allocations: 8 kB / 486.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.543, allocations: 3.984 kB / 486.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007595/0.5506, allocations: 2.676 MB / 488.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/0.5506, allocations: 16.03 kB / 488.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/0.553, allocations: 279.6 kB / 489.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.598e-05/0.553, allocations: 20 kB / 489.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.5532, allocations: 19.98 kB / 489.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.822e-05/0.5532, allocations: 27.83 kB / 489.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-05/0.5532, allocations: 11.94 kB / 489.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002793/0.556, allocations: 1.615 MB / 490.8 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/0.5566, allocations: 195.9 kB / 491 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.5568, allocations: 19.98 kB / 491 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.5583, allocations: 75.94 kB / 491.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.5586, allocations: 87.61 kB / 491.2 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.5587, allocations: 32 kB / 491.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001221/0.5599, allocations: 0.5265 MB / 491.8 MB, free: 3.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001492/0.5614, allocations: 196 kB / 491.9 MB, free: 2.852 MB / 378.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.0009066/0.5624, allocations: 321.7 kB / 492.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.5644, allocations: 0.6715 MB / 492.9 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.5644, allocations: 4 kB / 492.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.5656, allocations: 379.2 kB / 493.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.5673, allocations: 158.2 kB / 493.5 MB, free: 1.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.5726, allocations: 1.584 MB / 495 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/0.5743, allocations: 1.153 MB / 496.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5743, allocations: 0 / 496.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of Templates: time 0.02937/0.6037, allocations: 12.88 MB / 0.4971 GB, free: 1.496 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches