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.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 179.2 kB / 17.36 MB, free: 4.445 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.32/1.32, allocations: 205.6 MB / 223.7 MB, free: 8.945 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.0007571/0.0007572, allocations: 94.36 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002445, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2186, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.004993/0.2237, allocations: 5.544 MB / 382.2 MB, free: 41.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.227, allocations: 2.118 MB / 384.3 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.2276, allocations: 20.41 kB / 384.3 MB, free: 39.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.2283, allocations: 307.8 kB / 384.6 MB, free: 39.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009653/0.2292, allocations: 424.9 kB / 385 MB, free: 38.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.23, allocations: 393.8 kB / 385.4 MB, free: 38.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.2314, allocations: 1.427 MB / 386.8 MB, free: 37.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005942/0.232, allocations: 447.2 kB / 387.3 MB, free: 37.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/0.2326, allocations: 459 kB / 387.7 MB, free: 37.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.2331, allocations: 0.5736 MB / 388.3 MB, free: 36.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-05/0.2332, allocations: 60 kB / 388.3 MB, free: 36.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.2334, allocations: 83.98 kB / 388.4 MB, free: 36.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.2336, allocations: 223 kB / 388.6 MB, free: 36.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.2339, allocations: 0.5884 MB / 389.2 MB, free: 35.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.2349, allocations: 1.794 MB / 391 MB, free: 34.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.2349, allocations: 0 / 391 MB, free: 34.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2349, allocations: 0 / 391 MB, free: 34.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.235, allocations: 0 / 391 MB, free: 34.02 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00225/0.2372, allocations: 1.375 MB / 392.4 MB, free: 32.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2373, allocations: 8.031 kB / 392.4 MB, free: 32.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.2374, allocations: 131.3 kB / 392.5 MB, free: 32.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.2383, allocations: 0.7201 MB / 393.2 MB, free: 31.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-05/0.2384, allocations: 74.56 kB / 393.3 MB, free: 31.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.2385, allocations: 95.94 kB / 393.4 MB, free: 31.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.2402, allocations: 1.033 MB / 394.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.2402, allocations: 11.91 kB / 394.5 MB, free: 30.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/0.2403, allocations: 36 kB / 394.5 MB, free: 30.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.2403, allocations: 27.94 kB / 394.5 MB, free: 30.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.2421, allocations: 0.9421 MB / 395.5 MB, free: 29.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.2463, allocations: 3.679 MB / 399.1 MB, free: 25.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.2489, allocations: 1.094 MB / 400.2 MB, free: 24.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.2496, allocations: 399 kB / 400.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.2497, allocations: 8 kB / 400.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.2497, allocations: 39.16 kB / 400.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.966e-06/0.2497, allocations: 0 / 400.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004369/0.2541, allocations: 1.978 MB / 402.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.2541, allocations: 85.05 kB / 402.7 MB, free: 21.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.2551, allocations: 0.9741 MB / 403.7 MB, free: 20.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2552, allocations: 41.7 kB / 403.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.2555, allocations: 0.5221 MB / 404.3 MB, free: 20.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.2556, allocations: 232.7 kB / 404.5 MB, free: 20.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.2556, allocations: 19.94 kB / 404.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.2557, allocations: 338 kB / 404.8 MB, free: 19.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/0.2565, allocations: 381.7 kB / 405.2 MB, free: 19.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.2573, allocations: 0.5574 MB / 405.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.2588, allocations: 0.9138 MB / 406.7 MB, free: 17.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2589, allocations: 0 / 406.7 MB, free: 17.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002087/0.261, allocations: 1.099 MB / 407.8 MB, free: 16.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.261, allocations: 6.812 kB / 407.8 MB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.261, allocations: 11.98 kB / 407.8 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.261, allocations: 8 kB / 407.8 MB, free: 16.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.2622, allocations: 319.6 kB / 408.1 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.2622, allocations: 12 kB / 408.1 MB, free: 16.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.263, allocations: 87.92 kB / 408.2 MB, free: 16.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.2631, allocations: 43.92 kB / 408.3 MB, free: 16.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0004191/0.2635, allocations: 277.6 kB / 408.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2637, allocations: 106.7 kB / 408.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.2646, allocations: 423.4 kB / 409.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2646, allocations: 11.98 kB / 409.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2646, allocations: 0 / 409.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2646, allocations: 0 / 409.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.2678, allocations: 2.342 MB / 411.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.2679, allocations: 8 kB / 411.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.2687, allocations: 235.9 kB / 411.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.2687, allocations: 8 kB / 411.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.2687, allocations: 23.98 kB / 411.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.2688, allocations: 15.94 kB / 411.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.2688, allocations: 11.94 kB / 411.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.2701, allocations: 1.068 MB / 412.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.2704, allocations: 191.8 kB / 413 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.2705, allocations: 16 kB / 413 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.2711, allocations: 75.88 kB / 413.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.2712, allocations: 59.81 kB / 413.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.2713, allocations: 28 kB / 413.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007314/0.272, allocations: 0.6747 MB / 413.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.272, allocations: 0 / 413.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008665/0.2729, allocations: 215.9 kB / 414 MB, free: 10.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0007913/0.2737, allocations: 425.5 kB / 414.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.2754, allocations: 0.8106 MB / 415.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2754, allocations: 8.188 kB / 415.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.2761, allocations: 386.3 kB / 415.6 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.278, allocations: 267 kB / 415.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.2808, allocations: 2.383 MB / 418.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.2812, allocations: 1.011 MB / 419.3 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006189/0.2818, allocations: 135.2 kB / 419.4 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.2821, allocations: 87.41 kB / 419.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2821, allocations: 0 / 419.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of Templates: time 0.02052/0.3026, allocations: 11.91 MB / 431.4 MB, free: 8.762 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches