Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009284/0.0009283, allocations: 93.72 kB / 17.3 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008588/0.0008588, allocations: 182.5 kB / 18.2 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005531/0.0005533, allocations: 8.422 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09495, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006205/0.1012, allocations: 5.765 MB / 334.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.1047, allocations: 1.82 MB / 336.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008929/0.1056, allocations: 19.94 kB / 336.6 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000763/0.1064, allocations: 170.8 kB / 336.7 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.1077, allocations: 353.5 kB / 337.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.1084, allocations: 331.7 kB / 337.4 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.1102, allocations: 1.382 MB / 338.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006392/0.1108, allocations: 435.3 kB / 339.2 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.1115, allocations: 434.1 kB / 339.6 MB, free: 9.012 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005804/0.1121, allocations: 0.5131 MB / 340.2 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1122, allocations: 60 kB / 340.2 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1124, allocations: 64 kB / 340.3 MB, free: 8.375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1125, allocations: 195.1 kB / 340.5 MB, free: 8.184 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.1131, allocations: 0.5614 MB / 341 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.1144, allocations: 1.716 MB / 342.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1145, allocations: 0 / 342.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1145, allocations: 4 kB / 342.7 MB, free: 5.887 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.1145, allocations: 0 / 342.7 MB, free: 5.887 MB / 286.1 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.002482/0.117, allocations: 1.286 MB / 344 MB, free: 4.547 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.117, allocations: 12.03 kB / 344 MB, free: 4.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.1172, allocations: 123.5 kB / 344.2 MB, free: 4.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/0.1182, allocations: 0.665 MB / 344.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.1183, allocations: 74.56 kB / 344.9 MB, free: 3.633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.1184, allocations: 104.3 kB / 345 MB, free: 3.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.1204, allocations: 1.033 MB / 346 MB, free: 2.488 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.1205, allocations: 7.984 kB / 346 MB, free: 2.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-05/0.1206, allocations: 40 kB / 346.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.1206, allocations: 24 kB / 346.1 MB, free: 2.418 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.1225, allocations: 0.9147 MB / 347 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/0.1274, allocations: 3.36 MB / 350.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1289, allocations: 0.8427 MB / 351.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008998/0.1299, allocations: 499.1 kB / 351.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.341e-05/0.1299, allocations: 13.16 kB / 351.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.13, allocations: 51.06 kB / 351.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 3.687e-06/0.13, allocations: 0 / 351.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.009925/0.1399, allocations: 4.449 MB / 356.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.14, allocations: 89.77 kB / 356.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.1408, allocations: 0.6007 MB / 356.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/0.1409, allocations: 45.7 kB / 357 MB, free: 7.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.1412, allocations: 432.1 kB / 357.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.1415, allocations: 390.2 kB / 357.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.1416, allocations: 93.66 kB / 357.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1419, allocations: 394.7 kB / 358.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008877/0.1428, allocations: 402.4 kB / 358.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009779/0.1437, allocations: 0.5431 MB / 359.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.1455, allocations: 0.9317 MB / 360.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1455, allocations: 8 kB / 360.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002519/0.148, allocations: 1.235 MB / 361.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1481, allocations: 8 kB / 361.4 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1481, allocations: 4 kB / 361.4 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.1485, allocations: 126.5 kB / 361.5 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.1496, allocations: 263.6 kB / 361.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.1536, allocations: 4.528 MB / 366.3 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008001/0.1544, allocations: 60.03 kB / 366.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.1545, allocations: 43.98 kB / 366.4 MB, free: 13.23 MB / 318.1 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.0005537/0.155, allocations: 269.7 kB / 366.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.1552, allocations: 90.95 kB / 366.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.157, allocations: 0.7879 MB / 367.5 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.157, allocations: 12 kB / 367.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.157, allocations: 4 kB / 367.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.1571, allocations: 3.984 kB / 367.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/0.1615, allocations: 2.714 MB / 370.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1615, allocations: 4 kB / 370.2 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009006/0.1624, allocations: 215.8 kB / 370.5 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/0.1628, allocations: 155.3 kB / 370.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-05/0.1629, allocations: 31.92 kB / 370.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004509/0.1674, allocations: 5.568 MB / 376.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1674, allocations: 4.125 kB / 376.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.1708, allocations: 1.81 MB / 378 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.1711, allocations: 168.1 kB / 378.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.1712, allocations: 24 kB / 378.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.1718, allocations: 59.95 kB / 378.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.172, allocations: 84.33 kB / 378.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/0.1721, allocations: 31.98 kB / 378.4 MB, free: 500 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005961/0.1727, allocations: 443.1 kB / 378.8 MB, free: 60 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1727, allocations: 0 / 378.8 MB, free: 60 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.1656/0.3383, allocations: 250.4 kB / 379.1 MB, free: 51.4 MB / 318.1 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.0001926/0.3385, allocations: 127.1 kB / 379.2 MB, free: 51.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003034/0.3415, allocations: 1.38 MB / 380.6 MB, free: 50.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.3416, allocations: 2.031 kB / 380.6 MB, free: 50.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.3433, allocations: 1.028 MB / 381.6 MB, free: 50.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.3446, allocations: 167.5 kB / 381.8 MB, free: 50.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.3487, allocations: 2.757 MB / 384.5 MB, free: 49.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.3494, allocations: 1.022 MB / 385.5 MB, free: 48.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005962/0.35, allocations: 120.2 kB / 385.7 MB, free: 48.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.3503, allocations: 76.22 kB / 385.7 MB, free: 48.46 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3503, allocations: 0 / 385.7 MB, free: 48.46 MB / 318.1 MB Notification: Performance of Templates: time 0.01973/0.37, allocations: 11.14 MB / 396.9 MB, free: 44.9 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches