Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008209/0.000821, allocations: 177.9 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.6 MB / 223.7 MB, free: 8.961 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007078/0.0007078, allocations: 94.3 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002544/0.0002544, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 47.59 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003773/0.2153, allocations: 3.929 MB / 380.5 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2173, allocations: 1.735 MB / 382.3 MB, free: 41.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.2175, allocations: 12.59 kB / 382.3 MB, free: 41.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.2181, allocations: 393.1 kB / 382.7 MB, free: 40.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.2187, allocations: 390.4 kB / 383.1 MB, free: 40.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.2191, allocations: 273.8 kB / 383.3 MB, free: 40.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000791/0.2199, allocations: 0.9564 MB / 384.3 MB, free: 39.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.2203, allocations: 258.7 kB / 384.5 MB, free: 39.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.2206, allocations: 332.7 kB / 384.9 MB, free: 39.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.221, allocations: 457.7 kB / 385.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.432e-05/0.2211, allocations: 41.44 kB / 385.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.2213, allocations: 57.62 kB / 385.4 MB, free: 39.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.2214, allocations: 178.7 kB / 385.6 MB, free: 39.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.2217, allocations: 412.2 kB / 386 MB, free: 38.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007865/0.2225, allocations: 1.182 MB / 387.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2225, allocations: 0 / 387.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2225, allocations: 0 / 387.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.2226, allocations: 0 / 387.2 MB, free: 37.91 MB / 298.7 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.001611/0.2242, allocations: 1.094 MB / 388.2 MB, free: 36.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2242, allocations: 8.031 kB / 388.3 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.2243, allocations: 95.81 kB / 388.4 MB, free: 36.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.225, allocations: 0.5434 MB / 388.9 MB, free: 36.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.899e-05/0.2251, allocations: 49.88 kB / 388.9 MB, free: 36.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.2252, allocations: 67.94 kB / 389 MB, free: 35.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2262, allocations: 0.6596 MB / 389.7 MB, free: 35.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2262, allocations: 0 / 389.7 MB, free: 35.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.2263, allocations: 24 kB / 389.7 MB, free: 35.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.2263, allocations: 16 kB / 389.7 MB, free: 35.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.2274, allocations: 0.5907 MB / 390.3 MB, free: 34.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/0.2318, allocations: 2.571 MB / 392.9 MB, free: 31.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.2333, allocations: 491.8 kB / 393.4 MB, free: 31.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.2344, allocations: 306 kB / 393.6 MB, free: 31.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.2345, allocations: 16.41 kB / 393.7 MB, free: 31.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2345, allocations: 43 kB / 393.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/0.2346, allocations: 0 / 393.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.006191/0.2408, allocations: 1.653 MB / 395.4 MB, free: 29.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2408, allocations: 59.97 kB / 395.4 MB, free: 29.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.242, allocations: 0.9379 MB / 396.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2421, allocations: 37.7 kB / 396.4 MB, free: 28.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.2423, allocations: 408 kB / 396.8 MB, free: 27.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.2425, allocations: 205 kB / 397 MB, free: 27.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.2426, allocations: 12 kB / 397 MB, free: 27.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.2426, allocations: 333.9 kB / 397.3 MB, free: 27.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/0.2434, allocations: 261.9 kB / 397.6 MB, free: 27.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/0.2442, allocations: 359.1 kB / 397.9 MB, free: 26.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.2452, allocations: 0.6026 MB / 398.5 MB, free: 26.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2453, allocations: 4 kB / 398.5 MB, free: 26.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001281/0.2465, allocations: 0.7735 MB / 399.3 MB, free: 25.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2466, allocations: 8 kB / 399.3 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2466, allocations: 0 / 399.3 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.2466, allocations: 8 kB / 399.3 MB, free: 25.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/0.2474, allocations: 183.8 kB / 399.5 MB, free: 25.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.2474, allocations: 4 kB / 399.5 MB, free: 25.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.2479, allocations: 55.95 kB / 399.6 MB, free: 25.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.2479, allocations: 24 kB / 399.6 MB, free: 25.09 MB / 298.7 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_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 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.0002955/0.2482, allocations: 265.7 kB / 399.9 MB, free: 24.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2484, allocations: 86.91 kB / 399.9 MB, free: 24.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.2496, allocations: 0.6709 MB / 400.6 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.2496, allocations: 4 kB / 400.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2496, allocations: 0 / 400.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.2497, allocations: 3.984 kB / 400.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.2519, allocations: 1.856 MB / 402.5 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2519, allocations: 4 kB / 402.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.2524, allocations: 144.1 kB / 402.6 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2525, allocations: 4 kB / 402.6 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.2525, allocations: 20 kB / 402.6 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2525, allocations: 4 kB / 402.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2525, allocations: 7.984 kB / 402.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.2536, allocations: 0.777 MB / 403.4 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.2538, allocations: 212 kB / 403.6 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.2538, allocations: 15.94 kB / 403.7 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.2542, allocations: 47.97 kB / 403.7 MB, free: 20.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.2543, allocations: 52.25 kB / 403.7 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.2544, allocations: 16 kB / 403.8 MB, free: 20.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005767/0.255, allocations: 0.6865 MB / 404.5 MB, free: 20.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.255, allocations: 0 / 404.5 MB, free: 20.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004355/0.2554, allocations: 152 kB / 404.6 MB, free: 19.88 MB / 298.7 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.0007449/0.2562, allocations: 421.6 kB / 405 MB, free: 19.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.2573, allocations: 0.6162 MB / 405.6 MB, free: 18.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2573, allocations: 0 / 405.6 MB, free: 18.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/0.2578, allocations: 307.3 kB / 405.9 MB, free: 18.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/0.2587, allocations: 118.9 kB / 406 MB, free: 18.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.2607, allocations: 1.945 MB / 408 MB, free: 16.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.2611, allocations: 0.9672 MB / 409 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003553/0.2614, allocations: 89.06 kB / 409 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.2616, allocations: 55.41 kB / 409.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2616, allocations: 4 kB / 409.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of Templates: time 0.01023/0.2718, allocations: 7.113 MB / 416.2 MB, free: 8.27 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches