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.ArmatureStroke.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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000874/0.0008739, allocations: 183.7 kB / 16.71 MB, free: 4.969 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.213/1.213, allocations: 225.7 MB / 243.2 MB, free: 10.22 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.0007345/0.0007345, allocations: 97.27 kB / 294.4 MB, free: 9.742 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002359/0.0002358, allocations: 4 kB / 354.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.192, allocations: 50.42 MB / 404.6 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004187/0.1962, allocations: 5.525 MB / 410.1 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.1987, allocations: 1.757 MB / 411.9 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.1992, allocations: 19.94 kB / 411.9 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.1996, allocations: 174.8 kB / 412 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006156/0.2002, allocations: 349.5 kB / 412.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.2007, allocations: 323.7 kB / 412.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.2016, allocations: 1.385 MB / 414.1 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.202, allocations: 440.6 kB / 414.5 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.2024, allocations: 430.1 kB / 414.9 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.2027, allocations: 0.5015 MB / 415.4 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.039e-05/0.2028, allocations: 60 kB / 415.5 MB, free: 20.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.203, allocations: 64 kB / 415.6 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2031, allocations: 207 kB / 415.8 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.2034, allocations: 0.5497 MB / 416.3 MB, free: 19.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000863/0.2043, allocations: 1.732 MB / 418 MB, free: 17.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2043, allocations: 0 / 418 MB, free: 17.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2043, allocations: 4 kB / 418.1 MB, free: 17.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.2043, allocations: 4 kB / 418.1 MB, free: 17.83 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002074/0.2064, allocations: 1.278 MB / 419.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2065, allocations: 15.97 kB / 419.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.2066, allocations: 119.5 kB / 419.5 MB, free: 16.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/0.2074, allocations: 0.6611 MB / 420.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2076, allocations: 78.55 kB / 420.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.2077, allocations: 104.3 kB / 420.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.2093, allocations: 1.025 MB / 421.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.2093, allocations: 3.906 kB / 421.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.2094, allocations: 44 kB / 421.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.2094, allocations: 20 kB / 421.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.211, allocations: 0.9186 MB / 422.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003739/0.2147, allocations: 3.352 MB / 425.7 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.2159, allocations: 0.8273 MB / 426.5 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/0.2166, allocations: 488.1 kB / 427 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.2166, allocations: 12.56 kB / 427 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2167, allocations: 47.11 kB / 427 MB, free: 8.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 3.006e-06/0.2167, allocations: 0 / 427 MB, free: 8.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.007636/0.2243, allocations: 4.451 MB / 431.5 MB, free: 3.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.2244, allocations: 89.77 kB / 431.6 MB, free: 3.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.225, allocations: 0.5968 MB / 432.2 MB, free: 3.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.225, allocations: 45.7 kB / 432.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.2252, allocations: 420.2 kB / 432.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.2254, allocations: 402.2 kB / 433 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.2254, allocations: 20 kB / 433 MB, free: 2.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.2255, allocations: 398.7 kB / 433.4 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.2262, allocations: 402.4 kB / 433.8 MB, free: 1.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007447/0.227, allocations: 0.5276 MB / 434.3 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.2284, allocations: 0.9161 MB / 435.3 MB, free: 32 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2284, allocations: 0 / 435.3 MB, free: 32 kB / 298.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002183/0.2306, allocations: 1.235 MB / 436.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2306, allocations: 4 kB / 436.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2306, allocations: 4 kB / 436.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.231, allocations: 134.5 kB / 436.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.232, allocations: 255.7 kB / 436.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/0.2351, allocations: 4.524 MB / 441.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.2358, allocations: 60.03 kB / 441.5 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/0.2359, allocations: 39.98 kB / 441.5 MB, free: 9.363 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000396/0.2363, allocations: 274.7 kB / 441.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.2364, allocations: 90.95 kB / 441.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.2379, allocations: 0.7917 MB / 442.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.2379, allocations: 12 kB / 442.7 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.2379, allocations: 4.188 kB / 442.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2379, allocations: 7.984 kB / 442.7 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/0.2417, allocations: 2.695 MB / 445.4 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2417, allocations: 4 kB / 445.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00085/0.2426, allocations: 211.8 kB / 445.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/0.243, allocations: 159.3 kB / 445.7 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.2431, allocations: 27.98 kB / 445.8 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003531/0.2466, allocations: 5.576 MB / 451.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2466, allocations: 11.95 kB / 451.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.2495, allocations: 1.783 MB / 453.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.2497, allocations: 168 kB / 453.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.2499, allocations: 28.12 kB / 453.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005705/0.2504, allocations: 63.95 kB / 453.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.2506, allocations: 84.28 kB / 453.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.2507, allocations: 31.98 kB / 453.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005234/0.2512, allocations: 439.1 kB / 453.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2512, allocations: 0 / 453.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007946/0.252, allocations: 252 kB / 454.2 MB, free: 11.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * 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 simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.2522, allocations: 145.7 kB / 454.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.2544, allocations: 1.369 MB / 455.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2544, allocations: 0 / 455.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.2558, allocations: 1.017 MB / 456.7 MB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000938/0.2568, allocations: 170.8 kB / 456.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.2604, allocations: 2.759 MB / 459.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.2609, allocations: 1.02 MB / 460.7 MB, free: 5.309 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005228/0.2614, allocations: 119.6 kB / 460.8 MB, free: 5.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.2617, allocations: 79.41 kB / 460.8 MB, free: 5.109 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2617, allocations: 0 / 460.8 MB, free: 5.109 MB / 330.7 MB Notification: Performance of Templates: time 0.01892/0.2806, allocations: 11.14 MB / 472 MB, free: 10.03 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches