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.00151/0.00151, allocations: 115.6 kB / 17.69 MB, free: 5.285 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.001962/0.001962, allocations: 192 kB / 18.63 MB, free: 4.352 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.326/1.326, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001019, allocations: 46.02 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09429, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005981/0.1003, allocations: 4.564 MB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1035, allocations: 1.811 MB / 357.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004283/0.104, allocations: 11.94 kB / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007038/0.1047, allocations: 414.3 kB / 358.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007199/0.1055, allocations: 417.7 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.1061, allocations: 319.4 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009369/0.107, allocations: 1.024 MB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.1074, allocations: 294.5 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.1079, allocations: 402.8 kB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.1084, allocations: 0.506 MB / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.1085, allocations: 100 kB / 361.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.1087, allocations: 124 kB / 361.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.1089, allocations: 239.3 kB / 361.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.1093, allocations: 453.6 kB / 362.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.1103, allocations: 1.277 MB / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1103, allocations: 0 / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1104, allocations: 0 / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1104, allocations: 0 / 363.4 MB, free: 7.746 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.002039/0.1124, allocations: 1.203 MB / 364.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1125, allocations: 15.89 kB / 364.6 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.1126, allocations: 95.81 kB / 364.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008659/0.1135, allocations: 0.5628 MB / 365.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.1135, allocations: 49.69 kB / 365.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1137, allocations: 64.11 kB / 365.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.1148, allocations: 0.6402 MB / 366 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.1149, allocations: 0 / 366 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.1149, allocations: 24 kB / 366.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.1149, allocations: 16 kB / 366.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1161, allocations: 0.5594 MB / 366.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.1201, allocations: 2.532 MB / 369.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009858/0.1211, allocations: 475.4 kB / 369.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/0.1217, allocations: 294 kB / 369.9 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.705e-05/0.1218, allocations: 12.42 kB / 369.9 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1218, allocations: 39 kB / 370 MB, free: 0.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 1.934e-06/0.1218, allocations: 3.938 kB / 370 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.1493/0.2711, allocations: 1.485 MB / 371.5 MB, free: 25.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.2712, allocations: 59.34 kB / 371.5 MB, free: 25.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.2723, allocations: 0.9459 MB / 372.5 MB, free: 25.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.2724, allocations: 36.8 kB / 372.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.2726, allocations: 403.9 kB / 372.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.2728, allocations: 203.4 kB / 373.1 MB, free: 24.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.273, allocations: 118 kB / 373.2 MB, free: 24.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.273, allocations: 333.7 kB / 373.5 MB, free: 24.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/0.2736, allocations: 243.4 kB / 373.8 MB, free: 24.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.2742, allocations: 341.1 kB / 374.1 MB, free: 24.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.2753, allocations: 0.5709 MB / 374.7 MB, free: 23.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2753, allocations: 1.469 kB / 374.7 MB, free: 23.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00138/0.2767, allocations: 0.7291 MB / 375.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2767, allocations: 9.859 kB / 375.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2767, allocations: 2.125 kB / 375.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.2768, allocations: 5.25 kB / 375.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/0.2775, allocations: 176 kB / 375.6 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2775, allocations: 6.312 kB / 375.6 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.278, allocations: 41.44 kB / 375.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.2781, allocations: 24.69 kB / 375.7 MB, free: 23.57 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.0002668/0.2784, allocations: 274 kB / 375.9 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2785, allocations: 81.75 kB / 376 MB, free: 23.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.2798, allocations: 0.6365 MB / 376.6 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2798, allocations: 5.5 kB / 376.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2798, allocations: 1.984 kB / 376.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2798, allocations: 2.719 kB / 376.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.2823, allocations: 1.798 MB / 378.5 MB, free: 22.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.2824, allocations: 2.875 kB / 378.5 MB, free: 22.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.2829, allocations: 143.8 kB / 378.6 MB, free: 21.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.2829, allocations: 5.875 kB / 378.6 MB, free: 21.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.283, allocations: 15.39 kB / 378.6 MB, free: 21.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.283, allocations: 5.078 kB / 378.6 MB, free: 21.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.283, allocations: 3.406 kB / 378.6 MB, free: 21.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.2842, allocations: 0.7468 MB / 379.4 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.2844, allocations: 207.4 kB / 379.6 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.2845, allocations: 16.05 kB / 379.6 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.2849, allocations: 42.44 kB / 379.6 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/0.285, allocations: 40.38 kB / 379.7 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.285, allocations: 19.52 kB / 379.7 MB, free: 21.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006801/0.2857, allocations: 0.6891 MB / 380.4 MB, free: 21.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2857, allocations: 0 / 380.4 MB, free: 21.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005139/0.2862, allocations: 151 kB / 380.5 MB, free: 21.06 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.0007654/0.287, allocations: 377.4 kB / 380.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.2883, allocations: 0.5828 MB / 381.5 MB, free: 20.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2883, allocations: 0 / 381.5 MB, free: 20.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.2889, allocations: 292.7 kB / 381.8 MB, free: 20.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.2896, allocations: 140.1 kB / 381.9 MB, free: 20.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.2919, allocations: 1.565 MB / 383.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.2923, allocations: 0.9635 MB / 384.4 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003386/0.2927, allocations: 96.38 kB / 384.5 MB, free: 19.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.2929, allocations: 52.45 kB / 384.6 MB, free: 19.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2929, allocations: 0 / 384.6 MB, free: 19.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01286/0.3057, allocations: 7.65 MB / 392.2 MB, free: 16.25 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/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