Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009705/0.0009705, allocations: 81.91 kB / 21.43 MB, free: 3.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009512/0.0009512, allocations: 162.7 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9481/0.9481, allocations: 177 MB / 205.1 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.106e-05, allocations: 6.312 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00472/0.004731, allocations: 6.205 MB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.007893, allocations: 1.886 MB / 281.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.008222, allocations: 23.88 kB / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.008602, allocations: 218 kB / 281.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005704/0.009172, allocations: 436.5 kB / 282.1 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.009586, allocations: 375.4 kB / 282.4 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008564/0.01044, allocations: 1.557 MB / 284 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.01078, allocations: 329.8 kB / 284.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006252/0.0114, allocations: 0.877 MB / 285.2 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.01178, allocations: 478.7 kB / 285.7 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.0119, allocations: 156 kB / 285.8 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.01205, allocations: 156 kB / 286 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.01219, allocations: 310.9 kB / 286.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.01246, allocations: 467 kB / 286.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008833/0.01334, allocations: 0.9576 MB / 287.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01335, allocations: 0 / 287.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01335, allocations: 4 kB / 287.7 MB, free: 2.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.01335, allocations: 0 / 287.7 MB, free: 2.746 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.001381/0.01473, allocations: 1.469 MB / 289.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.01477, allocations: 15.98 kB / 289.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.01508, allocations: 232.1 kB / 289.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.0156, allocations: 0.596 MB / 290 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.01565, allocations: 78.38 kB / 290.1 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.01574, allocations: 111.9 kB / 290.2 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1011/0.1168, allocations: 0.7049 MB / 290.9 MB, free: 25.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.1169, allocations: 4.438 kB / 290.9 MB, free: 25.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.664e-05/0.1169, allocations: 39.58 kB / 290.9 MB, free: 25.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.117, allocations: 24.41 kB / 291 MB, free: 25.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.1175, allocations: 330.3 kB / 291.3 MB, free: 25.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.1207, allocations: 2.505 MB / 293.8 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.1214, allocations: 0.4979 MB / 294.3 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.1217, allocations: 223.8 kB / 294.5 MB, free: 24.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.1217, allocations: 24.97 kB / 294.5 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1218, allocations: 45.58 kB / 294.6 MB, free: 24.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 2.675e-06/0.1218, allocations: 1 kB / 294.6 MB, free: 24.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.004099/0.1259, allocations: 2.534 MB / 297.1 MB, free: 23.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.1259, allocations: 91.56 kB / 297.2 MB, free: 23.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.1264, allocations: 0.545 MB / 297.7 MB, free: 23.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.1264, allocations: 42.95 kB / 297.8 MB, free: 23.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1266, allocations: 0.4951 MB / 298.3 MB, free: 22.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.1268, allocations: 421.3 kB / 298.7 MB, free: 22.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.127, allocations: 197 kB / 298.9 MB, free: 22.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1272, allocations: 0.5727 MB / 299.5 MB, free: 22.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.1274, allocations: 126.8 kB / 299.6 MB, free: 22.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.1277, allocations: 318.4 kB / 299.9 MB, free: 21.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.1283, allocations: 0.5102 MB / 300.4 MB, free: 21.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1283, allocations: 5.25 kB / 300.4 MB, free: 21.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001023/0.1293, allocations: 0.7704 MB / 301.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1293, allocations: 10.38 kB / 301.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1293, allocations: 3.406 kB / 301.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/0.1297, allocations: 129.9 kB / 301.3 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.1303, allocations: 235.6 kB / 301.5 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.1321, allocations: 5.93 MB / 307.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.1324, allocations: 31.05 kB / 307.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.1325, allocations: 29.88 kB / 307.5 MB, free: 15.52 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.0001956/0.1327, allocations: 222 kB / 307.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.1329, allocations: 129.4 kB / 307.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006707/0.1335, allocations: 0.5183 MB / 308.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.1335, allocations: 10.38 kB / 308.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1335, allocations: 4.844 kB / 308.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.1336, allocations: 8.578 kB / 308.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.1353, allocations: 1.717 MB / 310.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1353, allocations: 3.062 kB / 310.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.1357, allocations: 183.9 kB / 310.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/0.136, allocations: 175.9 kB / 310.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.1361, allocations: 32.59 kB / 310.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.1376, allocations: 7.103 MB / 317.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1376, allocations: 0 / 317.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008649/0.1385, allocations: 1.15 MB / 318.8 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.1387, allocations: 162.3 kB / 318.9 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.1387, allocations: 35.64 kB / 319 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.1389, allocations: 28 kB / 319 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.139, allocations: 93.69 kB / 319.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.1391, allocations: 24 kB / 319.1 MB, free: 6.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.1392, allocations: 353 kB / 319.5 MB, free: 5.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1392, allocations: 0 / 319.5 MB, free: 5.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005066/0.1397, allocations: 256 kB / 319.7 MB, free: 5.496 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.000102/0.1398, allocations: 137 kB / 319.8 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006529/0.1405, allocations: 1.063 MB / 320.9 MB, free: 4.258 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1405, allocations: 4 kB / 320.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.1409, allocations: 1.004 MB / 321.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.1414, allocations: 210.1 kB / 322.1 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.1432, allocations: 1.897 MB / 324 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.1434, allocations: 198.9 kB / 324.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00027/0.1436, allocations: 119.6 kB / 324.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.1439, allocations: 290.1 kB / 324.6 MB, free: 480 kB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1439, allocations: 0 / 324.6 MB, free: 480 kB / 266.7 MB Notification: Performance of Templates: time 0.01696/0.1609, allocations: 13.72 MB / 338.3 MB, free: 3.023 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.100984424352646]