Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001168/0.001168, allocations: 93.08 kB / 16.65 MB, free: 6.535 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.001386/0.001386, allocations: 177.8 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002313/0.0002312, allocations: 7.938 kB / 301.4 MB, free: 6.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09092, allocations: 50.42 MB / 351.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004961/0.09593, allocations: 4.181 MB / 356 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.09893, allocations: 1.753 MB / 357.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00053/0.09949, allocations: 12 kB / 357.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008707/0.1004, allocations: 402.7 kB / 358.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.1015, allocations: 386.2 kB / 358.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007103/0.1022, allocations: 283.6 kB / 358.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.1033, allocations: 0.9539 MB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.1037, allocations: 255.7 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.1041, allocations: 330.7 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.1046, allocations: 462.2 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/0.1047, allocations: 36 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1048, allocations: 63.98 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.105, allocations: 179.2 kB / 361.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.1053, allocations: 407.4 kB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009667/0.1063, allocations: 1.187 MB / 362.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1063, allocations: 0 / 362.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1063, allocations: 0 / 362.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1063, allocations: 0 / 362.7 MB, free: 8.84 MB / 302.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.001967/0.1083, allocations: 1.09 MB / 363.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1084, allocations: 12.03 kB / 363.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.1085, allocations: 95.72 kB / 363.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.1094, allocations: 0.5473 MB / 364.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.1095, allocations: 49.88 kB / 364.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.1096, allocations: 63.84 kB / 364.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.1109, allocations: 0.6713 MB / 365.2 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.1109, allocations: 0 / 365.2 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.111, allocations: 28 kB / 365.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.111, allocations: 16 kB / 365.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.1123, allocations: 0.5868 MB / 365.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.116, allocations: 2.56 MB / 368.4 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/0.117, allocations: 490.7 kB / 368.9 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.1177, allocations: 313.9 kB / 369.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.1178, allocations: 8.422 kB / 369.2 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1178, allocations: 39 kB / 369.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 1.743e-06/0.1178, allocations: 0 / 369.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004619/0.1224, allocations: 1.657 MB / 370.9 MB, free: 372 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.1225, allocations: 55.97 kB / 370.9 MB, free: 304 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1674/0.2899, allocations: 0.943 MB / 371.9 MB, free: 24.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.2901, allocations: 37.86 kB / 371.9 MB, free: 24.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.2904, allocations: 403.9 kB / 372.3 MB, free: 24.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.2905, allocations: 205 kB / 372.5 MB, free: 24.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.2906, allocations: 59.59 kB / 372.6 MB, free: 24.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.2907, allocations: 329.3 kB / 372.9 MB, free: 23.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.2914, allocations: 266 kB / 373.1 MB, free: 23.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.2922, allocations: 366.6 kB / 373.5 MB, free: 23.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.2935, allocations: 0.6069 MB / 374.1 MB, free: 23.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2935, allocations: 0.875 kB / 374.1 MB, free: 23.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00167/0.2952, allocations: 0.7801 MB / 374.9 MB, free: 23.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2952, allocations: 9.469 kB / 374.9 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.2953, allocations: 1.812 kB / 374.9 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.2953, allocations: 10.05 kB / 374.9 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.296, allocations: 178.8 kB / 375.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2961, allocations: 6.578 kB / 375.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.2967, allocations: 56.52 kB / 375.1 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.2967, allocations: 24.73 kB / 375.2 MB, free: 23.52 MB / 302.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.0003248/0.297, allocations: 263.8 kB / 375.4 MB, free: 23.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2972, allocations: 80.67 kB / 375.5 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.2987, allocations: 0.6792 MB / 376.2 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2987, allocations: 5.281 kB / 376.2 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2987, allocations: 1.797 kB / 376.2 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2987, allocations: 3.125 kB / 376.2 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.3016, allocations: 1.86 MB / 378.1 MB, free: 21.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3017, allocations: 6.297 kB / 378.1 MB, free: 21.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/0.3023, allocations: 142.5 kB / 378.2 MB, free: 21.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.3023, allocations: 9.531 kB / 378.2 MB, free: 21.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.3023, allocations: 16.36 kB / 378.2 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.3023, allocations: 11.67 kB / 378.2 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3023, allocations: 6.5 kB / 378.2 MB, free: 21.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.3037, allocations: 0.7775 MB / 379 MB, free: 21.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.3039, allocations: 209.8 kB / 379.2 MB, free: 21.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.304, allocations: 17.7 kB / 379.2 MB, free: 21.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.3045, allocations: 52.2 kB / 379.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3046, allocations: 37.41 kB / 379.3 MB, free: 21.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.3046, allocations: 20.52 kB / 379.3 MB, free: 21.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008343/0.3055, allocations: 0.6869 MB / 380 MB, free: 20.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3055, allocations: 0.9375 kB / 380 MB, free: 20.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005886/0.3061, allocations: 153.3 kB / 380.2 MB, free: 20.97 MB / 302.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.0008113/0.3069, allocations: 386.6 kB / 380.6 MB, free: 20.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3084, allocations: 0.617 MB / 381.2 MB, free: 20.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3084, allocations: 5.094 kB / 381.2 MB, free: 20.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.3091, allocations: 312.5 kB / 381.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3101, allocations: 120.5 kB / 381.6 MB, free: 20.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.3128, allocations: 1.95 MB / 383.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.3134, allocations: 0.9597 MB / 384.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005085/0.3139, allocations: 100.4 kB / 384.6 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3141, allocations: 55.45 kB / 384.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3141, allocations: 1.875 kB / 384.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of Templates: time 0.01412/0.3283, allocations: 7.092 MB / 391.8 MB, free: 16.06 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches