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.0009432/0.0009432, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009806/0.0009806, allocations: 170.9 kB / 24.82 MB, free: 9.312 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.362e-06/1.362e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.368e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01239/0.0124, allocations: 6.208 MB / 279.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.01787, allocations: 1.882 MB / 281.5 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.0182, allocations: 23.88 kB / 281.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.01861, allocations: 214.1 kB / 281.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.01924, allocations: 444.4 kB / 282.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.0213, allocations: 379.4 kB / 282.5 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.02238, allocations: 1.553 MB / 284.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.02279, allocations: 329.8 kB / 284.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000804/0.0236, allocations: 0.8811 MB / 285.3 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.02409, allocations: 470.6 kB / 285.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.02424, allocations: 152 kB / 285.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.02445, allocations: 164 kB / 286 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.02464, allocations: 307 kB / 286.3 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.025, allocations: 466.9 kB / 286.8 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008598/0.02586, allocations: 0.9576 MB / 287.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.02586, allocations: 4 kB / 287.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02586, allocations: 0 / 287.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.02587, allocations: 0 / 287.8 MB, free: 2.848 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.001811/0.02768, allocations: 1.472 MB / 289.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.02771, allocations: 16.03 kB / 289.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00042/0.02813, allocations: 232.1 kB / 289.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.02879, allocations: 0.5999 MB / 290.1 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.02885, allocations: 74.38 kB / 290.1 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.02896, allocations: 107.9 kB / 290.2 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1013/0.1302, allocations: 0.7078 MB / 291 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.137e-05/0.1303, allocations: 4.188 kB / 291 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.906e-05/0.1303, allocations: 39.33 kB / 291 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.1304, allocations: 23.78 kB / 291 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007359/0.1311, allocations: 332.8 kB / 291.3 MB, free: 25.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004122/0.1352, allocations: 2.497 MB / 293.8 MB, free: 24.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.1358, allocations: 0.4917 MB / 294.3 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.1361, allocations: 224 kB / 294.6 MB, free: 24.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.1361, allocations: 22.22 kB / 294.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1361, allocations: 47.88 kB / 294.6 MB, free: 24.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 2.404e-06/0.1361, allocations: 0.9375 kB / 294.6 MB, free: 24.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.003867/0.14, allocations: 2.535 MB / 297.2 MB, free: 23.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.14, allocations: 90.36 kB / 297.2 MB, free: 23.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.1406, allocations: 0.5429 MB / 297.8 MB, free: 23.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.1406, allocations: 46.17 kB / 297.8 MB, free: 23.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.1409, allocations: 0.4946 MB / 298.3 MB, free: 22.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.1411, allocations: 421.8 kB / 298.7 MB, free: 22.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.1413, allocations: 195.8 kB / 298.9 MB, free: 22.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1414, allocations: 0.575 MB / 299.5 MB, free: 22.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.1417, allocations: 128.5 kB / 299.6 MB, free: 22.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.142, allocations: 318.7 kB / 299.9 MB, free: 21.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.1425, allocations: 0.5074 MB / 300.5 MB, free: 21.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1425, allocations: 3.828 kB / 300.5 MB, free: 21.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0009015/0.1434, allocations: 0.7801 MB / 301.2 MB, free: 21.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1435, allocations: 7.641 kB / 301.2 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.1435, allocations: 2.719 kB / 301.2 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.1437, allocations: 127.8 kB / 301.4 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.1443, allocations: 238.5 kB / 301.6 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.1458, allocations: 5.928 MB / 307.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.1461, allocations: 34 kB / 307.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.1462, allocations: 30.39 kB / 307.6 MB, free: 15.57 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.0001712/0.1463, allocations: 219.4 kB / 307.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1464, allocations: 137.3 kB / 307.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.147, allocations: 0.5118 MB / 308.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.147, allocations: 12.41 kB / 308.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.147, allocations: 3.312 kB / 308.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.147, allocations: 10.56 kB / 308.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.1485, allocations: 1.711 MB / 310.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1485, allocations: 2 kB / 310.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.1489, allocations: 185.6 kB / 310.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003598/0.1493, allocations: 173.6 kB / 310.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.1493, allocations: 31.03 kB / 310.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.1508, allocations: 7.116 MB / 317.7 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1508, allocations: 0 / 317.7 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.1516, allocations: 1.141 MB / 318.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.1518, allocations: 172.2 kB / 319 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.1518, allocations: 27.77 kB / 319 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.152, allocations: 29.84 kB / 319.1 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.1521, allocations: 93.22 kB / 319.1 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.1522, allocations: 22.53 kB / 319.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1523, allocations: 351 kB / 319.5 MB, free: 5.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1523, allocations: 3.938 kB / 319.5 MB, free: 5.895 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000484/0.1528, allocations: 260 kB / 319.8 MB, free: 5.641 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.0001049/0.1529, allocations: 134.5 kB / 319.9 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006515/0.1536, allocations: 1.06 MB / 321 MB, free: 4.406 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1536, allocations: 0 / 321 MB, free: 4.406 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.154, allocations: 1.017 MB / 322 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.1545, allocations: 211.3 kB / 322.2 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.1562, allocations: 1.884 MB / 324.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.768e-05/0.1563, allocations: 198.9 kB / 324.3 MB, free: 1.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.1566, allocations: 123.6 kB / 324.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.1569, allocations: 290 kB / 324.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1569, allocations: 0 / 324.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of Templates: time 0.01554/0.1725, allocations: 13.73 MB / 338.4 MB, free: 3.176 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 -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: 3.1098055951297283]