Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 182.6 kB / 16.71 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 225.7 MB / 243.2 MB, free: 10.25 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007062/0.0007062, allocations: 91.91 kB / 294.4 MB, free: 9.746 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002474, allocations: 8 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1923, allocations: 50.41 MB / 404.6 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.004429/0.1968, allocations: 5.61 MB / 410.2 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1993, allocations: 2.157 MB / 412.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.1997, allocations: 19.94 kB / 412.4 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.2003, allocations: 314.6 kB / 412.7 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.201, allocations: 429.4 kB / 413.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/0.2017, allocations: 399.6 kB / 413.5 MB, free: 22.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009996/0.2027, allocations: 1.432 MB / 414.9 MB, free: 20.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.2032, allocations: 448.8 kB / 415.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.2036, allocations: 469.9 kB / 415.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.204, allocations: 0.5678 MB / 416.4 MB, free: 19.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.2041, allocations: 60 kB / 416.4 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.2043, allocations: 84 kB / 416.5 MB, free: 19.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.2044, allocations: 222.9 kB / 416.7 MB, free: 19.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.2048, allocations: 0.5806 MB / 417.3 MB, free: 18.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009842/0.2058, allocations: 1.802 MB / 419.1 MB, free: 16.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2058, allocations: 8 kB / 419.1 MB, free: 16.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2058, allocations: 0 / 419.1 MB, free: 16.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.2058, allocations: 0 / 419.1 MB, free: 16.74 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.002172/0.208, allocations: 1.38 MB / 420.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2081, allocations: 8.031 kB / 420.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.2082, allocations: 127.4 kB / 420.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000896/0.2091, allocations: 0.7084 MB / 421.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.2092, allocations: 74.56 kB / 421.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.2094, allocations: 99.84 kB / 421.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.211, allocations: 1.04 MB / 422.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.2111, allocations: 0 / 422.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.2112, allocations: 36 kB / 422.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.2112, allocations: 24 kB / 422.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.2129, allocations: 0.9498 MB / 423.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.2168, allocations: 3.676 MB / 427.2 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.2194, allocations: 1.102 MB / 428.3 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.2201, allocations: 386.6 kB / 428.7 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.2201, allocations: 11.94 kB / 428.7 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2202, allocations: 38.56 kB / 428.8 MB, free: 6.766 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.245e-06/0.2202, allocations: 4 kB / 428.8 MB, free: 6.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004018/0.2242, allocations: 1.971 MB / 430.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.2242, allocations: 85.11 kB / 430.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009196/0.2252, allocations: 0.9741 MB / 431.8 MB, free: 3.703 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.2252, allocations: 37.7 kB / 431.8 MB, free: 3.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.2254, allocations: 0.5221 MB / 432.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2255, allocations: 232.6 kB / 432.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.2256, allocations: 20 kB / 432.6 MB, free: 2.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.2257, allocations: 334 kB / 432.9 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007672/0.2264, allocations: 385.8 kB / 433.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008218/0.2273, allocations: 0.5575 MB / 433.9 MB, free: 1.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.2287, allocations: 0.8907 MB / 434.8 MB, free: 0.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2287, allocations: 4 kB / 434.8 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002019/0.2308, allocations: 1.092 MB / 435.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2308, allocations: 15.88 kB / 435.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2308, allocations: 4 kB / 435.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.2308, allocations: 12 kB / 435.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.232, allocations: 323.5 kB / 436.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.232, allocations: 11.98 kB / 436.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/0.2327, allocations: 87.94 kB / 436.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.2328, allocations: 35.98 kB / 436.3 MB, free: 14.99 MB / 314.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.0003572/0.2332, allocations: 285.5 kB / 436.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.2333, allocations: 102.7 kB / 436.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/0.2342, allocations: 432.6 kB / 437.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2343, allocations: 4 kB / 437.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2343, allocations: 0 / 437.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2343, allocations: 11.98 kB / 437.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.2378, allocations: 2.341 MB / 439.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.2378, allocations: 4.125 kB / 439.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/0.2387, allocations: 235.7 kB / 439.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.2387, allocations: 8 kB / 439.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.2387, allocations: 23.98 kB / 439.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.2388, allocations: 19.88 kB / 439.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.2388, allocations: 11.94 kB / 439.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.2403, allocations: 1.07 MB / 440.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.2405, allocations: 187.8 kB / 441 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.2406, allocations: 20 kB / 441.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.2412, allocations: 75.88 kB / 441.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2413, allocations: 55.81 kB / 441.2 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.2413, allocations: 27.98 kB / 441.2 MB, free: 9.824 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007635/0.2421, allocations: 0.6747 MB / 441.9 MB, free: 9.156 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2421, allocations: 0 / 441.9 MB, free: 9.156 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000649/0.2428, allocations: 212 kB / 442.1 MB, free: 8.949 MB / 314.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.0007745/0.2436, allocations: 441.9 kB / 442.5 MB, free: 8.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.2452, allocations: 0.8154 MB / 443.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2452, allocations: 0 / 443.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007506/0.246, allocations: 397.8 kB / 443.7 MB, free: 7.426 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.2477, allocations: 263 kB / 444 MB, free: 7.168 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.2507, allocations: 2.387 MB / 446.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.2512, allocations: 1.015 MB / 447.4 MB, free: 3.617 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005134/0.2518, allocations: 115.2 kB / 447.5 MB, free: 3.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.252, allocations: 87.41 kB / 447.6 MB, free: 3.414 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.252, allocations: 4 kB / 447.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of Templates: time 0.01905/0.2711, allocations: 11.91 MB / 459.5 MB, free: 7.562 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches