Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001107/0.001107, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002572, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006911/0.0006911, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008492/0.00154, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.904/0.904, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08599/0.99, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.045e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006083/0.006104, allocations: 6.408 MB / 250.9 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.00972, allocations: 2.438 MB / 253.4 MB, free: 5.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.01021, allocations: 23.88 kB / 253.4 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.01075, allocations: 361.6 kB / 253.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.01213, allocations: 0.5546 MB / 254.3 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000909/0.01304, allocations: 459.1 kB / 254.7 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.01459, allocations: 1.611 MB / 256.3 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000526/0.01511, allocations: 342 kB / 256.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.01643, allocations: 1.024 MB / 257.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.01705, allocations: 0.5298 MB / 258.2 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.01722, allocations: 156 kB / 258.4 MB, free: 384 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.01752, allocations: 187.9 kB / 258.6 MB, free: 196 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.01774, allocations: 259.3 kB / 258.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003995/0.01814, allocations: 395.2 kB / 259.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.01919, allocations: 0.9615 MB / 260.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.01921, allocations: 0 / 260.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01921, allocations: 0 / 260.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.842e-05/0.01924, allocations: 0 / 260.2 MB, free: 14.59 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002394/0.02163, allocations: 1.679 MB / 261.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.02167, allocations: 15.97 kB / 261.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.02213, allocations: 265.9 kB / 262.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.02272, allocations: 497.2 kB / 262.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.02277, allocations: 74 kB / 262.7 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-05/0.02286, allocations: 92 kB / 262.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006789/0.02353, allocations: 0.7317 MB / 263.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.02356, allocations: 3.953 kB / 263.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.0236, allocations: 36 kB / 263.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.02362, allocations: 24 kB / 263.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.02396, allocations: 283.9 kB / 263.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.02618, allocations: 2.111 MB / 266 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.02683, allocations: 363.5 kB / 266.3 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.02696, allocations: 144.7 kB / 266.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.027, allocations: 19.86 kB / 266.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.02702, allocations: 50.48 kB / 266.5 MB, free: 8.016 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 1.673e-06/0.02702, allocations: 0 / 266.5 MB, free: 8.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001121/0.02814, allocations: 0.8106 MB / 267.3 MB, free: 7.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.02818, allocations: 92.91 kB / 267.4 MB, free: 7.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/0.02886, allocations: 0.6925 MB / 268.1 MB, free: 6.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.02888, allocations: 37.7 kB / 268.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.02906, allocations: 497.4 kB / 268.6 MB, free: 5.848 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.02916, allocations: 237.9 kB / 268.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.02931, allocations: 162.5 kB / 269 MB, free: 5.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.02941, allocations: 410.5 kB / 269.4 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.02952, allocations: 81.95 kB / 269.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.0297, allocations: 275.2 kB / 269.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.03004, allocations: 440 kB / 270.2 MB, free: 4.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.03004, allocations: 0 / 270.2 MB, free: 4.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0004522/0.03049, allocations: 467.5 kB / 270.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.03051, allocations: 8.688 kB / 270.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.03051, allocations: 8 kB / 270.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.03053, allocations: 15.94 kB / 270.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.0311, allocations: 291.5 kB / 271 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.03111, allocations: 8 kB / 271 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.03136, allocations: 39.97 kB / 271 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.0314, allocations: 35.98 kB / 271.1 MB, free: 3.25 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0001985/0.0316, allocations: 167.4 kB / 271.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.03172, allocations: 79.86 kB / 271.3 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.03194, allocations: 200.7 kB / 271.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.03195, allocations: 11.94 kB / 271.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.03195, allocations: 0 / 271.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.03196, allocations: 3.984 kB / 271.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.03323, allocations: 1.184 MB / 272.7 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.03323, allocations: 4 kB / 272.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.03364, allocations: 207.7 kB / 272.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.03373, allocations: 87.38 kB / 273 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.03374, allocations: 12.19 kB / 273 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.03376, allocations: 31.86 kB / 273 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.03377, allocations: 12 kB / 273 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.03377, allocations: 7.938 kB / 273.1 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.0342, allocations: 0.6394 MB / 273.7 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.03427, allocations: 27.97 kB / 273.7 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.03451, allocations: 35.98 kB / 273.8 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.03458, allocations: 71.7 kB / 273.8 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.03461, allocations: 27.98 kB / 273.9 MB, free: 232 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002584/0.03487, allocations: 339.3 kB / 274.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03487, allocations: 0 / 274.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.03534, allocations: 211.9 kB / 274.4 MB, free: 15.69 MB / 282.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.001014/0.03635, allocations: 0.511 MB / 274.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.037, allocations: 362.6 kB / 275.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.608e-05/0.03702, allocations: 20.5 kB / 275.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.03718, allocations: 180.5 kB / 275.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.03787, allocations: 290.4 kB / 275.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/0.0437, allocations: 1.819 MB / 277.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.04392, allocations: 180.8 kB / 277.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006321/0.04455, allocations: 118.7 kB / 277.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.04511, allocations: 237.2 kB / 278.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of SimCode: time 1.593e-06/0.04511, allocations: 4 kB / 278.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of Templates: time 0.01601/0.06112, allocations: 11.82 MB / 289.9 MB, free: 480 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.722740640863776]