Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001406/0.001406, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001019/0.001019, allocations: 168 kB / 25.75 MB, free: 8.961 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.9257/0.9257, allocations: 158.6 MB / 187.5 MB, free: 2.91 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.491e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004467/0.004492, allocations: 4.484 MB / 255.6 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.006874, allocations: 1.738 MB / 257.3 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.00712, allocations: 11.94 kB / 257.3 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.007749, allocations: 422.1 kB / 257.8 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.008387, allocations: 433.5 kB / 258.2 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.008879, allocations: 307.4 kB / 258.5 MB, free: 388 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009394/0.009819, allocations: 1.043 MB / 259.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.01012, allocations: 187.1 kB / 259.7 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.01067, allocations: 0.5926 MB / 260.3 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.01111, allocations: 454.9 kB / 260.7 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.04e-05/0.0112, allocations: 96 kB / 260.8 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.01135, allocations: 127.9 kB / 261 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.0115, allocations: 239.2 kB / 261.2 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.01173, allocations: 303.2 kB / 261.5 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006942/0.01242, allocations: 0.7162 MB / 262.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01242, allocations: 0 / 262.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01242, allocations: 0 / 262.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.01244, allocations: 0 / 262.2 MB, free: 12.64 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001416/0.01385, allocations: 1.239 MB / 263.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.0139, allocations: 12.03 kB / 263.5 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.01407, allocations: 156.3 kB / 263.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.01468, allocations: 0.4973 MB / 264.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/0.01474, allocations: 53.62 kB / 264.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.01481, allocations: 56.38 kB / 264.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.01551, allocations: 0.5186 MB / 264.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.01553, allocations: 3.938 kB / 264.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.01557, allocations: 32 kB / 264.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01559, allocations: 12 kB / 264.8 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.01605, allocations: 271.6 kB / 265 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.01843, allocations: 2.026 MB / 267.1 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.01889, allocations: 279 kB / 267.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.0192, allocations: 181.1 kB / 267.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.01923, allocations: 12.44 kB / 267.5 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.01926, allocations: 45.88 kB / 267.6 MB, free: 7.066 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.864e-06/0.01926, allocations: 0 / 267.6 MB, free: 7.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001838/0.0211, allocations: 0.9731 MB / 268.6 MB, free: 6.094 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.02115, allocations: 67.78 kB / 268.6 MB, free: 6.012 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.02175, allocations: 0.7181 MB / 269.3 MB, free: 5.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.02178, allocations: 33.7 kB / 269.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.02203, allocations: 479.2 kB / 269.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.02216, allocations: 210.1 kB / 270 MB, free: 4.559 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.0223, allocations: 124.3 kB / 270.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.02251, allocations: 0.5703 MB / 270.7 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.0227, allocations: 97.94 kB / 270.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.02296, allocations: 235.4 kB / 271.1 MB, free: 3.484 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.0234, allocations: 349.2 kB / 271.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.02341, allocations: 0 / 271.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006803/0.02409, allocations: 496.6 kB / 271.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.02411, allocations: 8 kB / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.02412, allocations: 4.281 kB / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.02414, allocations: 8 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.02454, allocations: 163.7 kB / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.02455, allocations: 11.94 kB / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.02474, allocations: 27.97 kB / 272.1 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.02478, allocations: 28 kB / 272.1 MB, free: 2.363 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0001654/0.02495, allocations: 188.5 kB / 272.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/0.02504, allocations: 95.48 kB / 272.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/0.0256, allocations: 417.2 kB / 272.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.02561, allocations: 4 kB / 272.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.02561, allocations: 3.938 kB / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.02562, allocations: 3.984 kB / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.02711, allocations: 1.329 MB / 274.2 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.02712, allocations: 4 kB / 274.2 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.02746, allocations: 123.8 kB / 274.3 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.02747, allocations: 4 kB / 274.3 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.0275, allocations: 16 kB / 274.3 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.934e-06/0.0275, allocations: 7.984 kB / 274.3 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.02751, allocations: 8.25 kB / 274.3 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.02813, allocations: 0.614 MB / 274.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.02827, allocations: 131.4 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.02832, allocations: 15.94 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.0285, allocations: 27.98 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.02859, allocations: 52.28 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.02862, allocations: 20 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003758/0.02899, allocations: 483 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02899, allocations: 0 / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.02937, allocations: 151.9 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0008404/0.03021, allocations: 344.2 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005637/0.03078, allocations: 340.7 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.03078, allocations: 0.5625 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.03099, allocations: 183.3 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.03149, allocations: 139.3 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.03349, allocations: 1.36 MB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.03362, allocations: 172.1 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.03386, allocations: 80.83 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.03398, allocations: 60.48 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03398, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Templates: time 0.01051/0.04449, allocations: 7.514 MB / 286 MB, free: 4.289 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.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.9677766552194953]