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.001261/0.001261, allocations: 81.86 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001383/0.001383, allocations: 161.3 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.493/1.493, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002107/0.002107, allocations: 62.11 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09553, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007979/0.1035, allocations: 5.716 MB / 384.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003729/0.1072, allocations: 1.831 MB / 386.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007726/0.108, allocations: 23.88 kB / 386.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007546/0.1088, allocations: 214.1 kB / 386.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1101, allocations: 420.8 kB / 387.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.111, allocations: 379.4 kB / 387.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001749/0.1128, allocations: 1.507 MB / 389 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.1133, allocations: 317.9 kB / 389.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.114, allocations: 0.584 MB / 389.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.1147, allocations: 0.5364 MB / 390.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.1149, allocations: 156 kB / 390.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.1151, allocations: 164 kB / 390.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.1154, allocations: 307 kB / 391 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005378/0.1159, allocations: 0.5329 MB / 391.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1178, allocations: 1.907 MB / 393.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1178, allocations: 11.94 kB / 393.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1178, allocations: 0 / 393.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.1178, allocations: 0 / 393.5 MB, free: 0.8203 MB / 350.1 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.002803/0.1206, allocations: 1.392 MB / 394.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1207, allocations: 11.98 kB / 394.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005441/0.1212, allocations: 164.1 kB / 395 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.1225, allocations: 0.6306 MB / 395.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.1225, allocations: 74 kB / 395.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.1227, allocations: 100 kB / 395.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.1245, allocations: 1.02 MB / 396.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.1245, allocations: 3.953 kB / 396.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/0.1246, allocations: 51.94 kB / 396.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.1246, allocations: 23.94 kB / 396.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.1262, allocations: 0.7899 MB / 397.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.131, allocations: 2.717 MB / 400.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.1324, allocations: 0.7498 MB / 401.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/0.1331, allocations: 410 kB / 401.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.1332, allocations: 12.5 kB / 401.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.1332, allocations: 47.61 kB / 401.7 MB, free: 8.449 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.026e-06/0.1332, allocations: 7.938 kB / 401.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008742/0.1419, allocations: 3.802 MB / 405.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.142, allocations: 89.77 kB / 405.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/0.1428, allocations: 0.5849 MB / 406.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.1429, allocations: 45.7 kB / 406.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.1432, allocations: 457 kB / 406.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.1436, allocations: 424.3 kB / 407.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.1439, allocations: 182.9 kB / 407.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.1441, allocations: 394.7 kB / 407.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.1448, allocations: 346.5 kB / 408 MB, free: 1.984 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007991/0.1456, allocations: 484.7 kB / 408.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.1471, allocations: 0.8598 MB / 409.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1471, allocations: 4 kB / 409.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002144/0.1493, allocations: 1.14 MB / 410.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1493, allocations: 10.97 kB / 410.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1493, allocations: 4 kB / 410.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/0.1497, allocations: 130.4 kB / 410.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.1507, allocations: 239.7 kB / 410.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.1547, allocations: 4.582 MB / 415.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.1554, allocations: 39.92 kB / 415.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.1554, allocations: 36 kB / 415.5 MB, free: 10.08 MB / 382.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 (132): * Single equations (assignments): 129 * 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.0004742/0.1559, allocations: 288.4 kB / 415.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.1561, allocations: 99.36 kB / 415.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.1577, allocations: 0.741 MB / 416.6 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.1577, allocations: 12 kB / 416.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1577, allocations: 0 / 416.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.1577, allocations: 7.984 kB / 416.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003922/0.1616, allocations: 2.16 MB / 418.8 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.1616, allocations: 4 kB / 418.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.1625, allocations: 191.9 kB / 419 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.1629, allocations: 159.3 kB / 419.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.163, allocations: 27.98 kB / 419.1 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004528/0.1675, allocations: 5.466 MB / 424.6 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1675, allocations: 0 / 424.6 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.1703, allocations: 1.658 MB / 426.3 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.1707, allocations: 171.4 kB / 426.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.1709, allocations: 27.94 kB / 426.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/0.1714, allocations: 27.98 kB / 426.5 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.1716, allocations: 84.44 kB / 426.6 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.1716, allocations: 35.98 kB / 426.6 MB, free: 14.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005623/0.1722, allocations: 418.8 kB / 427 MB, free: 13.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1722, allocations: 0 / 427 MB, free: 13.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009263/0.1731, allocations: 260 kB / 427.3 MB, free: 13.74 MB / 398.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 (108): * Single equations (assignments): 104 * 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.0001777/0.1733, allocations: 127.1 kB / 427.4 MB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.1755, allocations: 1.238 MB / 428.6 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1755, allocations: 0 / 428.6 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.1769, allocations: 0.9402 MB / 429.6 MB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.1779, allocations: 200.4 kB / 429.8 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.1817, allocations: 2.179 MB / 431.9 MB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.1822, allocations: 454.5 kB / 432.4 MB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004956/0.1827, allocations: 119.6 kB / 432.5 MB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.183, allocations: 76.48 kB / 432.6 MB, free: 8.254 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.183, allocations: 0 / 432.6 MB, free: 8.254 MB / 398.1 MB Notification: Performance of Templates: time 0.02401/0.207, allocations: 12.62 MB / 445.2 MB, free: 11.78 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8951351121068]