Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, 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.278/1.278, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007429/0.000743, allocations: 93.06 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002025/0.0002026, allocations: 4 kB / 360.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.19, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004168/0.1942, allocations: 5.529 MB / 417.6 MB, free: 20.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1964, allocations: 2.034 MB / 419.6 MB, free: 18.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.1967, allocations: 19.94 kB / 419.6 MB, free: 18.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.1971, allocations: 170.8 kB / 419.8 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.1977, allocations: 349.5 kB / 420.2 MB, free: 17.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.1981, allocations: 319.8 kB / 420.5 MB, free: 17.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000813/0.1989, allocations: 1.389 MB / 421.9 MB, free: 16.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004342/0.1994, allocations: 444.6 kB / 422.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.1997, allocations: 434.2 kB / 422.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.2, allocations: 0.5053 MB / 423.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.2001, allocations: 64 kB / 423.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.2003, allocations: 64 kB / 423.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.2004, allocations: 195.1 kB / 423.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.2007, allocations: 0.5614 MB / 424.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.2016, allocations: 1.724 MB / 425.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2016, allocations: 0 / 425.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2016, allocations: 3.938 kB / 425.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2016, allocations: 4 kB / 425.8 MB, free: 12.03 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.002027/0.2036, allocations: 1.286 MB / 427.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.2037, allocations: 8.031 kB / 427.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.2041, allocations: 151.5 kB / 427.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007704/0.2049, allocations: 0.6611 MB / 427.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.205, allocations: 78.55 kB / 428 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2051, allocations: 104.3 kB / 428.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.2067, allocations: 1.029 MB / 429.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.2067, allocations: 7.844 kB / 429.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.2068, allocations: 40 kB / 429.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.2068, allocations: 24 kB / 429.2 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.2084, allocations: 0.907 MB / 430.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/0.212, allocations: 3.348 MB / 433.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2132, allocations: 0.8503 MB / 434.3 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007222/0.2139, allocations: 490.7 kB / 434.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.214, allocations: 8.562 kB / 434.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.214, allocations: 43.12 kB / 434.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 2.174e-06/0.214, allocations: 0 / 434.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.008309/0.2223, allocations: 4.438 MB / 439.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2224, allocations: 93.77 kB / 439.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.2231, allocations: 0.5968 MB / 440 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.2232, allocations: 45.7 kB / 440 MB, free: 13.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.2235, allocations: 420.2 kB / 440.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.2238, allocations: 402.2 kB / 440.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.2239, allocations: 24 kB / 440.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.2241, allocations: 394.7 kB / 441.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/0.2249, allocations: 398.4 kB / 441.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009141/0.2258, allocations: 0.5276 MB / 442.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.2275, allocations: 0.9238 MB / 443.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2275, allocations: 0 / 443.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002336/0.2298, allocations: 1.231 MB / 444.3 MB, free: 8.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2299, allocations: 4 kB / 444.3 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2299, allocations: 4 kB / 444.3 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.2303, allocations: 130.5 kB / 444.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.2314, allocations: 259.7 kB / 444.7 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.2347, allocations: 4.524 MB / 449.2 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.2354, allocations: 68.08 kB / 449.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.2355, allocations: 39.94 kB / 449.3 MB, free: 3.516 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.0004204/0.2359, allocations: 284.4 kB / 449.6 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2361, allocations: 86.97 kB / 449.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.2376, allocations: 0.7878 MB / 450.5 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.2376, allocations: 12 kB / 450.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.2376, allocations: 4 kB / 450.5 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.2377, allocations: 11.95 kB / 450.5 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003993/0.2417, allocations: 2.691 MB / 453.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.2417, allocations: 8.062 kB / 453.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009039/0.2426, allocations: 211.7 kB / 453.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.2431, allocations: 167.2 kB / 453.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.2432, allocations: 24 kB / 453.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.247, allocations: 5.564 MB / 459.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.247, allocations: 4 kB / 459.2 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.25, allocations: 1.787 MB / 460.9 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.2502, allocations: 172 kB / 461.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.2503, allocations: 24 kB / 461.1 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.2509, allocations: 63.95 kB / 461.2 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.2511, allocations: 80.34 kB / 461.3 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.2511, allocations: 31.98 kB / 461.3 MB, free: 6.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005251/0.2517, allocations: 439.1 kB / 461.7 MB, free: 6.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.2517, allocations: 0 / 461.7 MB, free: 6.363 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007861/0.2525, allocations: 259.9 kB / 462 MB, free: 6.109 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.0001657/0.2526, allocations: 141.5 kB / 462.1 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.2549, allocations: 1.365 MB / 463.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2549, allocations: 0 / 463.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.2563, allocations: 1.029 MB / 464.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/0.2572, allocations: 177.1 kB / 464.7 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.2608, allocations: 2.763 MB / 467.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.2613, allocations: 1.024 MB / 468.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005265/0.2619, allocations: 119.5 kB / 468.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.2621, allocations: 79.41 kB / 468.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2621, allocations: 0 / 468.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of Templates: time 0.01842/0.2805, allocations: 11.13 MB / 479.8 MB, free: 4.195 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches