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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 107.9 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 190.3 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.89 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09466, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006716/0.1014, allocations: 4.518 MB / 380.3 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2387/0.3402, allocations: 1.734 MB / 382.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.3407, allocations: 12.16 kB / 382.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.3416, allocations: 425.5 kB / 382.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008603/0.3425, allocations: 422.6 kB / 382.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.3432, allocations: 304.6 kB / 383.2 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.3446, allocations: 1.019 MB / 384.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.3451, allocations: 305.9 kB / 384.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005356/0.3456, allocations: 411.6 kB / 384.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006502/0.3463, allocations: 0.5039 MB / 385.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.3464, allocations: 97.81 kB / 385.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.3467, allocations: 129.4 kB / 385.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.3469, allocations: 235.7 kB / 385.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.3473, allocations: 454.8 kB / 386.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.3487, allocations: 1.271 MB / 387.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3488, allocations: 1 kB / 387.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3488, allocations: 0 / 387.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.3488, allocations: 0 / 387.6 MB, free: 7.883 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.00227/0.3511, allocations: 1.204 MB / 388.8 MB, free: 7.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3511, allocations: 13.56 kB / 388.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.3513, allocations: 98.81 kB / 388.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.3522, allocations: 0.5462 MB / 389.5 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.3523, allocations: 52.38 kB / 389.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.3524, allocations: 59.28 kB / 389.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3536, allocations: 0.6496 MB / 390.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.3536, allocations: 2.312 kB / 390.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.3537, allocations: 26.06 kB / 390.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.3537, allocations: 14.06 kB / 390.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.355, allocations: 0.5601 MB / 390.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/0.3588, allocations: 2.537 MB / 393.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/0.3598, allocations: 480.2 kB / 393.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/0.3605, allocations: 299.5 kB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.3606, allocations: 9.984 kB / 394.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3606, allocations: 38.66 kB / 394.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.655e-06/0.3606, allocations: 7.984 kB / 394.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004496/0.3651, allocations: 1.484 MB / 395.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3651, allocations: 57.97 kB / 395.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.3665, allocations: 0.9429 MB / 396.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.3665, allocations: 37.3 kB / 396.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.3668, allocations: 410.3 kB / 397.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.3669, allocations: 205.5 kB / 397.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.3671, allocations: 118.5 kB / 397.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.3672, allocations: 332.6 kB / 397.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.3678, allocations: 241.3 kB / 398 MB, free: 2.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.3685, allocations: 346 kB / 398.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.3696, allocations: 0.5658 MB / 398.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3696, allocations: 1.625 kB / 398.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001503/0.3711, allocations: 0.7282 MB / 399.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3712, allocations: 11.09 kB / 399.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3712, allocations: 6.75 kB / 399.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.3712, allocations: 5.5 kB / 399.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007726/0.372, allocations: 178.3 kB / 399.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.372, allocations: 7.609 kB / 399.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.3725, allocations: 40.72 kB / 399.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.3726, allocations: 26.09 kB / 399.9 MB, free: 1.254 MB / 318.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.0003419/0.3729, allocations: 265.7 kB / 400.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.3731, allocations: 84.62 kB / 400.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.3745, allocations: 0.6332 MB / 400.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.3745, allocations: 5.594 kB / 400.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3746, allocations: 2.891 kB / 400.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3746, allocations: 2.859 kB / 400.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.3775, allocations: 1.799 MB / 402.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.3775, allocations: 10.25 kB / 402.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.3781, allocations: 132.7 kB / 402.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.3781, allocations: 9.5 kB / 402.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.3782, allocations: 17.55 kB / 402.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.3782, allocations: 5.625 kB / 402.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3782, allocations: 2.344 kB / 402.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.3795, allocations: 0.7464 MB / 403.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.3798, allocations: 206.7 kB / 403.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.3799, allocations: 13.69 kB / 403.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.3803, allocations: 35.44 kB / 403.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3805, allocations: 47.94 kB / 403.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.3805, allocations: 22.81 kB / 403.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008467/0.3814, allocations: 0.6841 MB / 404.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3814, allocations: 0 / 404.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005913/0.382, allocations: 149.1 kB / 404.7 MB, free: 14.31 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.0008789/0.3829, allocations: 377.5 kB / 405.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3843, allocations: 0.5816 MB / 405.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3843, allocations: 1.594 kB / 405.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006638/0.385, allocations: 292.2 kB / 406 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.3858, allocations: 130.9 kB / 406.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.3888, allocations: 1.619 MB / 407.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.3895, allocations: 0.9572 MB / 408.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.3897, allocations: 64.89 kB / 408.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3897, allocations: 0 / 408.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Templates: time 0.01503/0.4048, allocations: 9.888 MB / 418.6 MB, free: 3.586 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches