Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009003/0.0009003, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.376e-05, allocations: 6.312 kB / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008007/0.008031, allocations: 6.26 MB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.01258, allocations: 1.955 MB / 281.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/0.01343, allocations: 19.94 kB / 281.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.01407, allocations: 218 kB / 281.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.0152, allocations: 440.5 kB / 282.4 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.01597, allocations: 375.4 kB / 282.7 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.01751, allocations: 1.553 MB / 284.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005339/0.01804, allocations: 345.8 kB / 284.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.01913, allocations: 0.881 MB / 285.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/0.01978, allocations: 470.7 kB / 286 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.01998, allocations: 156 kB / 286.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.02022, allocations: 163.9 kB / 286.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.02042, allocations: 307 kB / 286.6 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.02086, allocations: 466.9 kB / 287 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.02197, allocations: 0.9577 MB / 288 MB, free: 2.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.02198, allocations: 8 kB / 288 MB, free: 2.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02198, allocations: 0 / 288 MB, free: 2.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.022, allocations: 0 / 288 MB, free: 2.535 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001994/0.02399, allocations: 1.336 MB / 289.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.02403, allocations: 12.03 kB / 289.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/0.02453, allocations: 188.8 kB / 289.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007315/0.02526, allocations: 429 kB / 289.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.02533, allocations: 74.38 kB / 290 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.02546, allocations: 107.9 kB / 290.1 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1077/0.1332, allocations: 0.7266 MB / 290.9 MB, free: 25.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.1332, allocations: 5.5 kB / 290.9 MB, free: 25.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.1333, allocations: 42.41 kB / 290.9 MB, free: 25.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.1333, allocations: 22.44 kB / 290.9 MB, free: 25.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.1337, allocations: 287.7 kB / 291.2 MB, free: 25.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.1363, allocations: 1.961 MB / 293.2 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.1369, allocations: 462.7 kB / 293.6 MB, free: 24.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.1371, allocations: 192.7 kB / 293.8 MB, free: 24.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.1372, allocations: 23.73 kB / 293.8 MB, free: 24.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1372, allocations: 47.47 kB / 293.9 MB, free: 24.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 2.214e-06/0.1372, allocations: 0 / 293.9 MB, free: 24.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.003929/0.1411, allocations: 2.547 MB / 296.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.1411, allocations: 89.75 kB / 296.5 MB, free: 24.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.1415, allocations: 488.8 kB / 297 MB, free: 23.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.1416, allocations: 44.97 kB / 297 MB, free: 23.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1417, allocations: 384 kB / 297.4 MB, free: 23.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.1419, allocations: 422.7 kB / 297.8 MB, free: 23.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.1421, allocations: 188.7 kB / 298 MB, free: 23.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.1422, allocations: 405.4 kB / 298.4 MB, free: 23.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.1423, allocations: 109.6 kB / 298.5 MB, free: 23.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.1426, allocations: 266.1 kB / 298.8 MB, free: 22.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.143, allocations: 478.2 kB / 299.2 MB, free: 22.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.143, allocations: 5.406 kB / 299.2 MB, free: 22.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0007122/0.1438, allocations: 0.5895 MB / 299.8 MB, free: 22.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1438, allocations: 11.28 kB / 299.8 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1438, allocations: 2.344 kB / 299.8 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.144, allocations: 116.1 kB / 300 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.1446, allocations: 276.5 kB / 300.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.1461, allocations: 4.053 MB / 304.3 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.1463, allocations: 30.77 kB / 304.3 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.1464, allocations: 37.78 kB / 304.3 MB, free: 18.95 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 128 * 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.0001524/0.1465, allocations: 182.6 kB / 304.5 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.1466, allocations: 94.03 kB / 304.6 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.1471, allocations: 443.7 kB / 305 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1471, allocations: 11.59 kB / 305.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.1471, allocations: 4.031 kB / 305.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.1471, allocations: 4.641 kB / 305.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.1486, allocations: 1.293 MB / 306.4 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1486, allocations: 2 kB / 306.4 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.1491, allocations: 224.4 kB / 306.6 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.1494, allocations: 151.9 kB / 306.7 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.1494, allocations: 24.67 kB / 306.8 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.1507, allocations: 4.876 MB / 311.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1507, allocations: 1.938 kB / 311.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.1514, allocations: 0.9071 MB / 312.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1515, allocations: 82.42 kB / 312.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.1516, allocations: 22.59 kB / 312.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1518, allocations: 27.58 kB / 312.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.1519, allocations: 97.05 kB / 312.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.1519, allocations: 20.59 kB / 312.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1521, allocations: 222.9 kB / 313 MB, free: 12.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1521, allocations: 4 kB / 313 MB, free: 12.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005073/0.1526, allocations: 259.6 kB / 313.3 MB, free: 12.46 MB / 266.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 (106): * Single equations (assignments): 102 * 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.0001153/0.1527, allocations: 118.1 kB / 313.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006381/0.1533, allocations: 0.856 MB / 314.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.1533, allocations: 8.688 kB / 314.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.1537, allocations: 0.7785 MB / 315 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.1542, allocations: 213 kB / 315.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.156, allocations: 1.771 MB / 317 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.1561, allocations: 206.7 kB / 317.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002786/0.1564, allocations: 123.6 kB / 317.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.1567, allocations: 253.2 kB / 317.6 MB, free: 8.074 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1567, allocations: 0 / 317.6 MB, free: 8.074 MB / 266.7 MB Notification: Performance of Templates: time 0.01519/0.1719, allocations: 13.81 MB / 331.4 MB, free: 10.56 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.991655664984137]