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.001903/0.001903, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.001827/0.001827, allocations: 164.4 kB / 25.03 MB, free: 8.41 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 1.335/1.335, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] 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.252e-06/1.252e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.433e-05, allocations: 2.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009057/0.009082, allocations: 6.192 MB / 256.6 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004461/0.01354, allocations: 2.12 MB / 258.7 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004909/0.01403, allocations: 23.88 kB / 258.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008382/0.01487, allocations: 353.7 kB / 259 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.01599, allocations: 0.4964 MB / 259.5 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.01684, allocations: 435.4 kB / 260 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.01864, allocations: 1.588 MB / 261.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/0.01922, allocations: 325.9 kB / 261.9 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.02039, allocations: 0.881 MB / 262.8 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008689/0.02126, allocations: 0.5494 MB / 263.3 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.0215, allocations: 160 kB / 263.5 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.02184, allocations: 184 kB / 263.6 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003545/0.0222, allocations: 338.8 kB / 264 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005643/0.02276, allocations: 466.9 kB / 264.4 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.02518, allocations: 1.994 MB / 266.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.02518, allocations: 0 / 266.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02518, allocations: 0 / 266.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.0252, allocations: 0 / 266.4 MB, free: 7.695 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.003376/0.02858, allocations: 1.675 MB / 268.1 MB, free: 5.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.02862, allocations: 12.03 kB / 268.1 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.02901, allocations: 212.1 kB / 268.3 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.03039, allocations: 0.6845 MB / 269 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.22e-05/0.03048, allocations: 70.38 kB / 269.1 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.03067, allocations: 96.38 kB / 269.2 MB, free: 4.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.03282, allocations: 1.097 MB / 270.3 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.03286, allocations: 7.891 kB / 270.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.03295, allocations: 44 kB / 270.3 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.03298, allocations: 24 kB / 270.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.03487, allocations: 0.8055 MB / 271.1 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006573/0.04144, allocations: 3.73 MB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.04361, allocations: 0.6814 MB / 275.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007148/0.04433, allocations: 335.8 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/0.04439, allocations: 15.8 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.04443, allocations: 41.39 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.384e-06/0.04443, allocations: 0 / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.004296/0.04873, allocations: 1.617 MB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.0488, allocations: 85.05 kB / 277.6 MB, free: 12.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.05021, allocations: 0.9991 MB / 278.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.05026, allocations: 37.64 kB / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005987/0.05086, allocations: 0.647 MB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.05112, allocations: 265.9 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.05146, allocations: 200.2 kB / 279.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005286/0.05199, allocations: 0.6367 MB / 280.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007866/0.05278, allocations: 301.9 kB / 280.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.05382, allocations: 0.5768 MB / 281.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.05553, allocations: 0.8398 MB / 282.1 MB, free: 7.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.05553, allocations: 0 / 282.1 MB, free: 7.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002173/0.05771, allocations: 0.954 MB / 283.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.05773, allocations: 8 kB / 283.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.05774, allocations: 4 kB / 283.1 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.05777, allocations: 12 kB / 283.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.0589, allocations: 247.6 kB / 283.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/0.05892, allocations: 20.03 kB / 283.4 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/0.05958, allocations: 43.97 kB / 283.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.05965, allocations: 35.98 kB / 283.4 MB, free: 6.125 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.0004535/0.06011, allocations: 316.4 kB / 283.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.06033, allocations: 111.4 kB / 283.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008838/0.06121, allocations: 337 kB / 284.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.06122, allocations: 4 kB / 284.2 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.06123, allocations: 7.938 kB / 284.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.06124, allocations: 3.984 kB / 284.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004548/0.06579, allocations: 2.419 MB / 286.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.06581, allocations: 12 kB / 286.6 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.0666, allocations: 175.8 kB / 286.8 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.06661, allocations: 8 kB / 286.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.06667, allocations: 23.98 kB / 286.8 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-05/0.06669, allocations: 15.94 kB / 286.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.06669, allocations: 7.938 kB / 286.9 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.06866, allocations: 1.178 MB / 288 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.06887, allocations: 95.45 kB / 288.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.06898, allocations: 23.98 kB / 288.2 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.06953, allocations: 35.98 kB / 288.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.06967, allocations: 71.72 kB / 288.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.06972, allocations: 27.98 kB / 288.3 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008713/0.07059, allocations: 0.6083 MB / 288.9 MB, free: 368 kB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07059, allocations: 0 / 288.9 MB, free: 368 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008495/0.07144, allocations: 200 kB / 289.1 MB, free: 168 kB / 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.002598/0.07404, allocations: 402.1 kB / 289.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.07575, allocations: 0.7389 MB / 290.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.07575, allocations: 0 / 290.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.07646, allocations: 343.2 kB / 290.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.07762, allocations: 206.9 kB / 290.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.08115, allocations: 1.904 MB / 292.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.08168, allocations: 426.8 kB / 293.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004911/0.08217, allocations: 118.4 kB / 293.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.08241, allocations: 60.48 kB / 293.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.08241, allocations: 4 kB / 293.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of Templates: time 0.02165/0.1041, allocations: 10.23 MB / 303.5 MB, free: 1.598 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.667135527008213]