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.001532/0.001532, allocations: 107.6 kB / 21.18 MB, free: 0.5781 MB / 14.72 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.002/0.002, allocations: 216 kB / 24.48 MB, free: 3.867 MB / 14.72 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.54/1.54, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 55.91 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3123, allocations: 49.16 MB / 396.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005485/0.3178, allocations: 4.116 MB / 401 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.3209, allocations: 1.671 MB / 402.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.3212, allocations: 14.19 kB / 402.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008391/0.322, allocations: 413 kB / 403.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008217/0.3229, allocations: 421.2 kB / 403.5 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006711/0.3235, allocations: 307.8 kB / 403.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3246, allocations: 1.028 MB / 404.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.325, allocations: 190.7 kB / 405 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/0.3255, allocations: 418.2 kB / 405.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.3262, allocations: 488.5 kB / 405.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.3263, allocations: 96.25 kB / 406 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.3266, allocations: 133.2 kB / 406.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.3268, allocations: 232.6 kB / 406.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.3271, allocations: 366.6 kB / 406.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3284, allocations: 1.285 MB / 408 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3284, allocations: 4 kB / 408 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3284, allocations: 0 / 408 MB, free: 3.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3285, allocations: 0 / 408 MB, free: 3.121 MB / 318.1 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.002087/0.3305, allocations: 1.153 MB / 409.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3306, allocations: 9.156 kB / 409.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.3308, allocations: 107.4 kB / 409.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.3317, allocations: 0.4953 MB / 409.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.3317, allocations: 46.25 kB / 409.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.3318, allocations: 62.56 kB / 409.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.333, allocations: 0.6751 MB / 410.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.3331, allocations: 3.953 kB / 410.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.3331, allocations: 25.69 kB / 410.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.3331, allocations: 18.8 kB / 410.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3344, allocations: 0.5554 MB / 411.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.3377, allocations: 2 MB / 413.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009926/0.3387, allocations: 455 kB / 413.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.3394, allocations: 282.9 kB / 413.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.3395, allocations: 6.844 kB / 413.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3395, allocations: 41.06 kB / 413.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.874e-06/0.3395, allocations: 1.062 kB / 413.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004613/0.3441, allocations: 1.494 MB / 415.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.3442, allocations: 58.69 kB / 415.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.3454, allocations: 0.8876 MB / 416.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.3455, allocations: 36.86 kB / 416.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.3458, allocations: 410.1 kB / 416.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.346, allocations: 214.2 kB / 417 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3462, allocations: 125.5 kB / 417.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3464, allocations: 390.5 kB / 417.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/0.347, allocations: 245.4 kB / 417.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007187/0.3478, allocations: 348 kB / 418 MB, free: 12.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.3491, allocations: 0.5624 MB / 418.6 MB, free: 12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3491, allocations: 0 / 418.6 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001698/0.3508, allocations: 0.7317 MB / 419.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3508, allocations: 6.531 kB / 419.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.3508, allocations: 6 kB / 419.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.3508, allocations: 5.781 kB / 419.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008088/0.3516, allocations: 174.7 kB / 419.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.3516, allocations: 9.5 kB / 419.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.3522, allocations: 38.73 kB / 419.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.3522, allocations: 25.66 kB / 419.6 MB, free: 11.55 MB / 334.1 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.0003751/0.3526, allocations: 262.2 kB / 419.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3527, allocations: 74.22 kB / 419.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.3543, allocations: 0.634 MB / 420.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3543, allocations: 6.438 kB / 420.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3543, allocations: 7.984 kB / 420.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3543, allocations: 1.531 kB / 420.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.3575, allocations: 1.484 MB / 422.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.3575, allocations: 4 kB / 422.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.3581, allocations: 131.8 kB / 422.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.3581, allocations: 8 kB / 422.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.3582, allocations: 19.92 kB / 422.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.3582, allocations: 7.938 kB / 422.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3582, allocations: 8.312 kB / 422.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.3596, allocations: 0.7378 MB / 423 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.3599, allocations: 127.5 kB / 423.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.36, allocations: 23.92 kB / 423.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.3605, allocations: 35.97 kB / 423.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3606, allocations: 44.3 kB / 423.2 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.3606, allocations: 20 kB / 423.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008353/0.3615, allocations: 0.6435 MB / 423.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3615, allocations: 0 / 423.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006387/0.3621, allocations: 148 kB / 424 MB, free: 7.602 MB / 334.1 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.001549/0.3636, allocations: 388.6 kB / 424.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.3651, allocations: 0.5569 MB / 424.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.3651, allocations: 4 kB / 425 MB, free: 6.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006713/0.3658, allocations: 275.4 kB / 425.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008224/0.3666, allocations: 126.8 kB / 425.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.3699, allocations: 1.589 MB / 426.9 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.3703, allocations: 366.9 kB / 427.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004077/0.3707, allocations: 88.84 kB / 427.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.3709, allocations: 55.42 kB / 427.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3709, allocations: 0 / 427.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of Templates: time 0.01744/0.3884, allocations: 8.395 MB / 435.8 MB, free: 11.66 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 5.011153222993016]