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.001617/0.001617, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001819/0.001819, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.8749/0.8749, allocations: 177 MB / 205.2 MB, free: 5.051 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.613e-06/1.613e-06, allocations: 0 / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.039e-05, allocations: 2.312 kB / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00513/0.00515, allocations: 6.216 MB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.007678, allocations: 1.955 MB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.008019, allocations: 23.88 kB / 281.6 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.008417, allocations: 214 kB / 281.8 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.00903, allocations: 448.5 kB / 282.2 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.009511, allocations: 371.4 kB / 282.6 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009845/0.0105, allocations: 1.557 MB / 284.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.01083, allocations: 333.8 kB / 284.5 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007487/0.01158, allocations: 0.8849 MB / 285.3 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.01202, allocations: 470.7 kB / 285.8 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.01214, allocations: 156 kB / 286 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.0123, allocations: 164 kB / 286.1 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.01244, allocations: 306.9 kB / 286.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.01273, allocations: 459 kB / 286.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.01343, allocations: 0.9732 MB / 287.8 MB, free: 2.527 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01343, allocations: 3.984 kB / 287.8 MB, free: 2.523 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01344, allocations: 0 / 287.8 MB, free: 2.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.01345, allocations: 0 / 287.8 MB, free: 2.523 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.001332/0.01478, allocations: 1.332 MB / 289.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.01481, allocations: 15.98 kB / 289.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.01512, allocations: 188.8 kB / 289.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.0156, allocations: 433 kB / 289.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.01565, allocations: 74.38 kB / 289.9 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/0.01574, allocations: 111.9 kB / 290 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09102/0.1068, allocations: 0.7175 MB / 290.7 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/0.1068, allocations: 12.33 kB / 290.7 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.1069, allocations: 37.62 kB / 290.7 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.1069, allocations: 24.81 kB / 290.8 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.1075, allocations: 286.3 kB / 291 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.1107, allocations: 1.962 MB / 293 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/0.1114, allocations: 457.4 kB / 293.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.1116, allocations: 197.2 kB / 293.6 MB, free: 24.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.735e-05/0.1117, allocations: 28.88 kB / 293.7 MB, free: 24.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1117, allocations: 42.75 kB / 293.7 MB, free: 24.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 3.797e-06/0.1117, allocations: 1.156 kB / 293.7 MB, free: 24.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.004739/0.1165, allocations: 2.545 MB / 296.3 MB, free: 24.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1165, allocations: 90.73 kB / 296.4 MB, free: 23.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/0.117, allocations: 491.2 kB / 296.8 MB, free: 23.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.117, allocations: 43.42 kB / 296.9 MB, free: 23.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1172, allocations: 381.4 kB / 297.2 MB, free: 23.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.1174, allocations: 422.2 kB / 297.7 MB, free: 23.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.1176, allocations: 190.7 kB / 297.8 MB, free: 23.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1178, allocations: 405.8 kB / 298.2 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.118, allocations: 108.9 kB / 298.3 MB, free: 23.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.1182, allocations: 264.4 kB / 298.6 MB, free: 22.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.1188, allocations: 484.7 kB / 299.1 MB, free: 22.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1188, allocations: 1.125 kB / 299.1 MB, free: 22.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0008867/0.1197, allocations: 0.592 MB / 299.7 MB, free: 22.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.1197, allocations: 7.266 kB / 299.7 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1197, allocations: 2.812 kB / 299.7 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/0.12, allocations: 116.7 kB / 299.8 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.1206, allocations: 236.8 kB / 300 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.1224, allocations: 4.053 MB / 304.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.1228, allocations: 39.38 kB / 304.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.1228, allocations: 29.73 kB / 304.1 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.000276/0.1231, allocations: 175.5 kB / 304.3 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.1232, allocations: 91.19 kB / 304.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.1238, allocations: 448.6 kB / 304.8 MB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.1238, allocations: 12.06 kB / 304.9 MB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.1239, allocations: 2.969 kB / 304.9 MB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.1239, allocations: 7.703 kB / 304.9 MB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.1257, allocations: 1.295 MB / 306.2 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1257, allocations: 3.719 kB / 306.2 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.1261, allocations: 188.3 kB / 306.4 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/0.1265, allocations: 150.4 kB / 306.5 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.1265, allocations: 27.3 kB / 306.5 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.1281, allocations: 4.867 MB / 311.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1281, allocations: 3.875 kB / 311.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.1289, allocations: 0.893 MB / 312.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.1291, allocations: 87.97 kB / 312.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.1292, allocations: 22.72 kB / 312.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1294, allocations: 35.52 kB / 312.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.1295, allocations: 81.28 kB / 312.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.1295, allocations: 28.67 kB / 312.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1297, allocations: 225.1 kB / 312.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1297, allocations: 0 / 312.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007389/0.1305, allocations: 268.3 kB / 313 MB, free: 12.48 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.0001576/0.1306, allocations: 119.1 kB / 313.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007964/0.1314, allocations: 0.8588 MB / 314 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/0.1314, allocations: 11.83 kB / 314 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.1318, allocations: 0.7774 MB / 314.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.1324, allocations: 209.7 kB / 315 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.1346, allocations: 1.76 MB / 316.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.1347, allocations: 202.8 kB / 317 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000343/0.1351, allocations: 123.6 kB / 317.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.1354, allocations: 249.2 kB / 317.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1354, allocations: 0 / 317.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of Templates: time 0.01558/0.151, allocations: 13.66 MB / 331 MB, free: 10.73 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: 2.8238436030223966]