Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009341/0.0009341, allocations: 201.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007678/0.0007678, allocations: 91.5 kB / 299.8 MB, free: 5.367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001957/0.0001957, allocations: 4 kB / 360.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1838, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.004352/0.1882, allocations: 5.627 MB / 417.7 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1905, allocations: 2.709 MB / 420.4 MB, free: 17.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.1909, allocations: 19.94 kB / 420.4 MB, free: 17.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.1914, allocations: 318.5 kB / 420.7 MB, free: 17.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.1921, allocations: 461.3 kB / 421.2 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.1926, allocations: 411.5 kB / 421.6 MB, free: 16.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009118/0.1936, allocations: 1.432 MB / 423 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.194, allocations: 452.8 kB / 423.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.1943, allocations: 466 kB / 423.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.1947, allocations: 0.5677 MB / 424.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/0.1948, allocations: 64 kB / 424.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.195, allocations: 95.92 kB / 424.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.1952, allocations: 215 kB / 424.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.1955, allocations: 0.5845 MB / 425.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009171/0.1965, allocations: 1.814 MB / 427.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1965, allocations: 4 kB / 427.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1965, allocations: 0 / 427.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1965, allocations: 0 / 427.2 MB, free: 10.55 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.002079/0.1986, allocations: 1.379 MB / 428.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1986, allocations: 12.02 kB / 428.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000447/0.1991, allocations: 155.3 kB / 428.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.1999, allocations: 0.7123 MB / 429.5 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.2001, allocations: 78.48 kB / 429.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.2002, allocations: 99.94 kB / 429.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.2018, allocations: 1.033 MB / 430.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.2018, allocations: 11.91 kB / 430.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/0.2019, allocations: 39.98 kB / 430.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.2019, allocations: 24 kB / 430.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.2036, allocations: 0.942 MB / 431.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.2076, allocations: 3.676 MB / 435.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.2102, allocations: 1.094 MB / 436.5 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.2108, allocations: 401.4 kB / 436.9 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.2109, allocations: 15.98 kB / 436.9 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.2109, allocations: 38.56 kB / 436.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.2109, allocations: 0 / 436.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004577/0.2155, allocations: 1.98 MB / 438.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.2156, allocations: 89.11 kB / 439 MB, free: 14.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.2167, allocations: 0.9745 MB / 440 MB, free: 13.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.2168, allocations: 41.7 kB / 440 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.2172, allocations: 0.5337 MB / 440.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.2173, allocations: 224.7 kB / 440.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.2174, allocations: 20 kB / 440.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2175, allocations: 337.9 kB / 441.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009075/0.2185, allocations: 377.8 kB / 441.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.2195, allocations: 0.5614 MB / 442 MB, free: 11.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.2214, allocations: 0.8942 MB / 442.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2214, allocations: 4 kB / 442.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002229/0.2236, allocations: 1.09 MB / 444 MB, free: 9.195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.2236, allocations: 9.25 kB / 444 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.2237, allocations: 8 kB / 444.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.2237, allocations: 8 kB / 444.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.2249, allocations: 323.5 kB / 444.4 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.225, allocations: 19.97 kB / 444.4 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/0.2257, allocations: 91.92 kB / 444.5 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.2258, allocations: 32 kB / 444.5 MB, free: 8.715 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.0003677/0.2262, allocations: 289.5 kB / 444.8 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.2263, allocations: 110.7 kB / 444.9 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009637/0.2273, allocations: 424.7 kB / 445.3 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2273, allocations: 8 kB / 445.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2273, allocations: 0 / 445.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.2273, allocations: 3.984 kB / 445.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.231, allocations: 2.354 MB / 447.7 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.2311, allocations: 4 kB / 447.7 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008835/0.232, allocations: 232 kB / 447.9 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.232, allocations: 8 kB / 447.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.232, allocations: 23.98 kB / 447.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.232, allocations: 23.88 kB / 448 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.2321, allocations: 11.94 kB / 448 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.2336, allocations: 1.069 MB / 449.1 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.2338, allocations: 191.8 kB / 449.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.2339, allocations: 20 kB / 449.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.2345, allocations: 67.89 kB / 449.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.2347, allocations: 71.73 kB / 449.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.2347, allocations: 24 kB / 449.4 MB, free: 3.535 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008404/0.2356, allocations: 0.6788 MB / 450.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2356, allocations: 0 / 450.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006662/0.2362, allocations: 212 kB / 450.3 MB, free: 2.637 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.0007801/0.237, allocations: 436.1 kB / 450.7 MB, free: 2.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.2388, allocations: 0.8043 MB / 451.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2388, allocations: 4.188 kB / 451.5 MB, free: 1.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008187/0.2396, allocations: 395.9 kB / 451.9 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.2414, allocations: 259.1 kB / 452.2 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.2445, allocations: 2.409 MB / 454.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.2451, allocations: 1.019 MB / 455.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005399/0.2456, allocations: 127.2 kB / 455.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.2459, allocations: 91.41 kB / 455.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2459, allocations: 3.938 kB / 455.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01996/0.2658, allocations: 11.92 MB / 467.7 MB, free: 1.227 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches