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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 167.7 kB / 25.33 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8893/0.8893, allocations: 158.6 MB / 187.2 MB, free: 2.551 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.339e-05, allocations: 2.312 kB / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006018/0.006041, allocations: 6.249 MB / 257.3 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.009662, allocations: 2.12 MB / 259.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005117/0.01017, allocations: 27.88 kB / 259.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.0109, allocations: 361.7 kB / 259.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008524/0.01176, allocations: 0.4964 MB / 260.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.01241, allocations: 439.2 kB / 260.7 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.0136, allocations: 1.58 MB / 262.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.01403, allocations: 337.8 kB / 262.6 MB, free: 7.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007765/0.0148, allocations: 0.8772 MB / 263.5 MB, free: 7.055 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.01536, allocations: 0.5415 MB / 264.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.01552, allocations: 160 kB / 264.2 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.01575, allocations: 199.8 kB / 264.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.01598, allocations: 330.9 kB / 264.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.01633, allocations: 470.9 kB / 265.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009261/0.01725, allocations: 1.032 MB / 266.2 MB, free: 4.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.01726, allocations: 0 / 266.2 MB, free: 4.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.666e-06/0.01726, allocations: 0 / 266.2 MB, free: 4.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.01727, allocations: 0 / 266.2 MB, free: 4.34 MB / 250.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.001864/0.01914, allocations: 1.558 MB / 267.8 MB, free: 2.742 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.01918, allocations: 8.031 kB / 267.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.01941, allocations: 216.1 kB / 268 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.0202, allocations: 0.661 MB / 268.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.02027, allocations: 74.38 kB / 268.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.02037, allocations: 96.38 kB / 268.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.02146, allocations: 0.7888 MB / 269.6 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.02149, allocations: 7.891 kB / 269.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.02155, allocations: 44 kB / 269.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.02157, allocations: 24 kB / 269.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.02223, allocations: 417.5 kB / 270.1 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.02524, allocations: 2.777 MB / 272.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/0.02618, allocations: 0.4938 MB / 273.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.02645, allocations: 199.2 kB / 273.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.02649, allocations: 11.94 kB / 273.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.02652, allocations: 41.39 kB / 273.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.613e-06/0.02652, allocations: 0 / 273.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001888/0.02841, allocations: 1.172 MB / 274.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.02845, allocations: 89.11 kB / 274.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.02903, allocations: 0.7375 MB / 275.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.02906, allocations: 37.7 kB / 275.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.02935, allocations: 0.5961 MB / 276.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.02946, allocations: 238 kB / 276.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.02963, allocations: 168.2 kB / 276.6 MB, free: 9.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.02981, allocations: 0.5703 MB / 277.2 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.03004, allocations: 129.9 kB / 277.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.03037, allocations: 382.8 kB / 277.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.0309, allocations: 0.5312 MB / 278.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.03091, allocations: 4 kB / 278.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000781/0.03169, allocations: 0.6452 MB / 278.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.03171, allocations: 4 kB / 278.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.03172, allocations: 8 kB / 278.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.03174, allocations: 8 kB / 278.9 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.03228, allocations: 247.9 kB / 279.1 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.0323, allocations: 15.94 kB / 279.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.03258, allocations: 47.97 kB / 279.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.03262, allocations: 35.98 kB / 279.2 MB, free: 6.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0001948/0.03281, allocations: 216.4 kB / 279.5 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.03293, allocations: 107.4 kB / 279.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.03325, allocations: 237.1 kB / 279.8 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.03326, allocations: 8 kB / 279.8 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.03326, allocations: 7.938 kB / 279.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.03327, allocations: 3.984 kB / 279.8 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.03526, allocations: 1.708 MB / 281.5 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.03527, allocations: 8 kB / 281.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.03563, allocations: 184.5 kB / 281.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.03564, allocations: 15.98 kB / 281.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.03566, allocations: 16 kB / 281.7 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.03567, allocations: 15.98 kB / 281.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.03568, allocations: 11.94 kB / 281.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.03638, allocations: 0.9443 MB / 282.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.03647, allocations: 99.41 kB / 282.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.03653, allocations: 23.98 kB / 282.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.03678, allocations: 35.98 kB / 282.9 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.03687, allocations: 67.72 kB / 282.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.0369, allocations: 24 kB / 283 MB, free: 2.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003731/0.03727, allocations: 478.9 kB / 283.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03727, allocations: 0 / 283.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004661/0.03774, allocations: 212 kB / 283.6 MB, free: 2.062 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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 Backend phase and start with SimCode phase: time 0.0007415/0.03848, allocations: 357.5 kB / 284 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006012/0.03908, allocations: 428.7 kB / 284.4 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.03908, allocations: 4 kB / 284.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.03934, allocations: 203.1 kB / 284.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.04008, allocations: 215 kB / 284.8 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.04218, allocations: 1.748 MB / 286.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.04231, allocations: 184.6 kB / 286.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002806/0.04259, allocations: 106.4 kB / 286.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.04275, allocations: 68.47 kB / 286.9 MB, free: 14.63 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04275, allocations: 0 / 286.9 MB, free: 14.63 MB / 282.7 MB Notification: Performance of Templates: time 0.01387/0.05662, allocations: 10.25 MB / 297.2 MB, free: 4.367 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.22381982114166]