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.001258/0.001258, allocations: 92.59 kB / 17.31 MB, free: 5.59 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.001365/0.001365, allocations: 181.6 kB / 18.21 MB, free: 5.191 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.109/1.109, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002001/0.0002001, allocations: 4 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0695/0.06971, allocations: 50.41 MB / 352.5 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003826/0.07356, allocations: 4.185 MB / 356.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.0755, allocations: 1.746 MB / 358.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.07569, allocations: 8 kB / 358.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.07622, allocations: 398.7 kB / 358.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.07676, allocations: 386.1 kB / 359.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.0772, allocations: 299 kB / 359.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007227/0.07793, allocations: 0.9462 MB / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.07824, allocations: 251.7 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.07852, allocations: 338.7 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.07892, allocations: 450.2 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.07899, allocations: 40 kB / 361.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.07911, allocations: 71.92 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.07925, allocations: 171.2 kB / 361.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.07954, allocations: 411.4 kB / 362.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.08019, allocations: 0.9933 MB / 363.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.0802, allocations: 0 / 363.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08021, allocations: 4 kB / 363.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.08022, allocations: 0 / 363.1 MB, free: 8.762 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.001615/0.08184, allocations: 1.079 MB / 364.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.08188, allocations: 8.031 kB / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.082, allocations: 99.72 kB / 364.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.08264, allocations: 0.5512 MB / 364.9 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-05/0.08273, allocations: 49.88 kB / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.08283, allocations: 67.84 kB / 365 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.08389, allocations: 0.6635 MB / 365.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.08392, allocations: 0 / 365.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.08398, allocations: 28 kB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.084, allocations: 12 kB / 365.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.08514, allocations: 0.5946 MB / 366.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.08808, allocations: 2.564 MB / 368.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008268/0.08892, allocations: 482.7 kB / 369.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006055/0.08954, allocations: 321.1 kB / 369.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.08958, allocations: 12.42 kB / 369.6 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.08961, allocations: 42.94 kB / 369.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 1.422e-06/0.08962, allocations: 0 / 369.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.003996/0.09362, allocations: 1.649 MB / 371.3 MB, free: 300 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.09366, allocations: 63.97 kB / 371.4 MB, free: 224 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1291/0.2227, allocations: 0.9392 MB / 372.3 MB, free: 24.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.825e-05/0.2228, allocations: 37.14 kB / 372.4 MB, free: 24.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.2231, allocations: 405.5 kB / 372.8 MB, free: 24.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.2232, allocations: 204.2 kB / 373 MB, free: 24.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.2233, allocations: 58.84 kB / 373 MB, free: 24.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.2234, allocations: 330.4 kB / 373.4 MB, free: 23.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.224, allocations: 267.6 kB / 373.6 MB, free: 23.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.2247, allocations: 366.3 kB / 374 MB, free: 23.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.2258, allocations: 0.6053 MB / 374.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2258, allocations: 4.531 kB / 374.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001474/0.2273, allocations: 0.7767 MB / 375.4 MB, free: 23.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2273, allocations: 5.625 kB / 375.4 MB, free: 23.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2274, allocations: 2.75 kB / 375.4 MB, free: 23.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2274, allocations: 9.625 kB / 375.4 MB, free: 23.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.2281, allocations: 186.9 kB / 375.6 MB, free: 23.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.2281, allocations: 6.578 kB / 375.6 MB, free: 23.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.2286, allocations: 55.48 kB / 375.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.2286, allocations: 22.98 kB / 375.6 MB, free: 23.27 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.0002569/0.2289, allocations: 265.9 kB / 375.9 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.229, allocations: 77.19 kB / 376 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.2303, allocations: 0.6782 MB / 376.7 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2303, allocations: 7.469 kB / 376.7 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2303, allocations: 4 kB / 376.7 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2303, allocations: 2.766 kB / 376.7 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.2328, allocations: 1.855 MB / 378.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2328, allocations: 2.5 kB / 378.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.2334, allocations: 146.2 kB / 378.7 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.2334, allocations: 13.56 kB / 378.7 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.2334, allocations: 18.44 kB / 378.7 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.2334, allocations: 5.734 kB / 378.7 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2334, allocations: 6.406 kB / 378.7 MB, free: 21.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2345, allocations: 0.7759 MB / 379.5 MB, free: 21.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.2347, allocations: 211.4 kB / 379.7 MB, free: 21.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.2348, allocations: 18.94 kB / 379.7 MB, free: 21.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.2352, allocations: 47.03 kB / 379.8 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.2353, allocations: 46.56 kB / 379.8 MB, free: 21.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.2354, allocations: 21.3 kB / 379.8 MB, free: 21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007038/0.2361, allocations: 0.6855 MB / 380.5 MB, free: 20.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2361, allocations: 0 / 380.5 MB, free: 20.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.2365, allocations: 154.6 kB / 380.7 MB, free: 20.72 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.000681/0.2372, allocations: 383.3 kB / 381 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.2384, allocations: 0.6175 MB / 381.7 MB, free: 20.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2384, allocations: 0 / 381.7 MB, free: 20.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.239, allocations: 312.6 kB / 382 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.2399, allocations: 121.7 kB / 382.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.2421, allocations: 1.988 MB / 384.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.2425, allocations: 0.9634 MB / 385 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.2427, allocations: 58.23 kB / 385.1 MB, free: 18.31 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2427, allocations: 0 / 385.1 MB, free: 18.31 MB / 302.1 MB Notification: Performance of Templates: time 0.01122/0.2539, allocations: 9.671 MB / 394.8 MB, free: 13.98 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/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