Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.00107, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 107.4 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000872/0.0008721, allocations: 39.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2142, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005145/0.2194, allocations: 6.29 MB / 405.8 MB, free: 27.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2219, allocations: 1.807 MB / 407.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.2225, allocations: 19.94 kB / 407.6 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.223, allocations: 174.8 kB / 407.8 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007229/0.2238, allocations: 345.5 kB / 408.1 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.2243, allocations: 331.8 kB / 408.4 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.2254, allocations: 1.393 MB / 409.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004794/0.2259, allocations: 444.6 kB / 410.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.2262, allocations: 470.1 kB / 410.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.2266, allocations: 0.5405 MB / 411.3 MB, free: 21.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.2267, allocations: 76 kB / 411.3 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.2269, allocations: 76 kB / 411.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.227, allocations: 231 kB / 411.6 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.2274, allocations: 0.5597 MB / 412.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009723/0.2283, allocations: 1.771 MB / 414 MB, free: 18.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2284, allocations: 0 / 414 MB, free: 18.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2284, allocations: 0 / 414 MB, free: 18.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.2284, allocations: 0 / 414 MB, free: 18.82 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.002534/0.2309, allocations: 1.447 MB / 415.4 MB, free: 17.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.231, allocations: 15.97 kB / 415.4 MB, free: 17.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.2312, allocations: 119.5 kB / 415.5 MB, free: 17.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008326/0.232, allocations: 0.665 MB / 416.2 MB, free: 16.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.351e-05/0.2321, allocations: 70.56 kB / 416.3 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.2322, allocations: 100.4 kB / 416.4 MB, free: 16.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.2337, allocations: 1.005 MB / 417.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.2337, allocations: 7.906 kB / 417.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.2338, allocations: 40 kB / 417.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.2338, allocations: 24 kB / 417.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.2353, allocations: 0.8717 MB / 418.3 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.2391, allocations: 3.34 MB / 421.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.2403, allocations: 0.8009 MB / 422.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.241, allocations: 471.2 kB / 422.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.2411, allocations: 20.53 kB / 422.9 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2411, allocations: 43.12 kB / 423 MB, free: 9.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 2.935e-06/0.2411, allocations: 0 / 423 MB, free: 9.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.007509/0.2486, allocations: 4.3 MB / 427.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2487, allocations: 89.77 kB / 427.4 MB, free: 4.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/0.2493, allocations: 0.6085 MB / 428 MB, free: 4.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.2493, allocations: 41.7 kB / 428 MB, free: 4.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2495, allocations: 432.1 kB / 428.4 MB, free: 3.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.2497, allocations: 394.2 kB / 428.8 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.2499, allocations: 182.9 kB / 429 MB, free: 3.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.25, allocations: 394.7 kB / 429.4 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/0.2507, allocations: 382.4 kB / 429.8 MB, free: 2.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007323/0.2514, allocations: 0.5119 MB / 430.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.2528, allocations: 0.881 MB / 431.2 MB, free: 1.016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2528, allocations: 4 kB / 431.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001964/0.2548, allocations: 1.2 MB / 432.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2548, allocations: 7.984 kB / 432.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2548, allocations: 4 kB / 432.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.2552, allocations: 126.5 kB / 432.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.2562, allocations: 251.6 kB / 432.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.2597, allocations: 4.521 MB / 437.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.2604, allocations: 56.09 kB / 437.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.2604, allocations: 35.98 kB / 437.4 MB, free: 10.39 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_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.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.0004314/0.2609, allocations: 273.7 kB / 437.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.261, allocations: 86.97 kB / 437.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.2626, allocations: 0.7761 MB / 438.5 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.2626, allocations: 12 kB / 438.5 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.2627, allocations: 4 kB / 438.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.2627, allocations: 7.922 kB / 438.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/0.2672, allocations: 2.659 MB / 441.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2672, allocations: 0 / 441.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008496/0.2681, allocations: 211.7 kB / 441.4 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.2685, allocations: 155.3 kB / 441.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.2686, allocations: 27.98 kB / 441.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.2725, allocations: 5.58 MB / 447.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2725, allocations: 0 / 447.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.2885, allocations: 11.42 MB / 458.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.2887, allocations: 164.1 kB / 458.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2888, allocations: 23.94 kB / 458.7 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.2894, allocations: 51.95 kB / 458.8 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.2896, allocations: 84.34 kB / 458.9 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.2897, allocations: 28 kB / 458.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005281/0.2902, allocations: 443.1 kB / 459.3 MB, free: 3.105 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2902, allocations: 0 / 459.3 MB, free: 3.105 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001087/0.2913, allocations: 352 kB / 459.7 MB, free: 2.762 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.0001692/0.2915, allocations: 143 kB / 459.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.2937, allocations: 1.329 MB / 461.1 MB, free: 1.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2937, allocations: 3.938 kB / 461.1 MB, free: 1.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.2951, allocations: 0.9983 MB / 462.1 MB, free: 196 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/0.296, allocations: 181.5 kB / 462.3 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/0.3005, allocations: 3.617 MB / 465.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.3011, allocations: 1.052 MB / 467 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000578/0.3016, allocations: 127.6 kB / 467.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.3019, allocations: 87.39 kB / 467.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3019, allocations: 0 / 467.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Templates: time 0.02159/0.3235, allocations: 13.96 MB / 481.2 MB, free: 13.16 MB / 362.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@2/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