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.0008948/0.0008948, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0008675/0.0008675, allocations: 161.7 kB / 24.99 MB, free: 8.77 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.9467/0.9467, allocations: 177 MB / 205.2 MB, free: 5.594 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.353e-06/1.353e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.451e-05, allocations: 2.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01266/0.01267, allocations: 6.326 MB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005699/0.01837, allocations: 1.893 MB / 281.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.01873, allocations: 23.88 kB / 281.2 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.01922, allocations: 218 kB / 281.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.02295, allocations: 436.5 kB / 281.9 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.02351, allocations: 383.4 kB / 282.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.02466, allocations: 1.549 MB / 283.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000653/0.02532, allocations: 329.8 kB / 284.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009081/0.02623, allocations: 0.8772 MB / 285 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.02675, allocations: 482.6 kB / 285.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.0269, allocations: 160 kB / 285.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.02706, allocations: 168 kB / 285.8 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.02721, allocations: 314.9 kB / 286.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.02751, allocations: 467 kB / 286.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.02824, allocations: 0.9927 MB / 287.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.02825, allocations: 0 / 287.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02825, allocations: 0 / 287.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.02826, allocations: 0 / 287.5 MB, free: 3.125 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.001595/0.02985, allocations: 1.484 MB / 289 MB, free: 1.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.02989, allocations: 11.98 kB / 289 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.03025, allocations: 232.1 kB / 289.3 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.03094, allocations: 0.637 MB / 289.9 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.03099, allocations: 74.38 kB / 290 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.03109, allocations: 103.9 kB / 290.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1038/0.1349, allocations: 0.7724 MB / 290.8 MB, free: 28.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/0.1349, allocations: 2.328 kB / 290.8 MB, free: 28.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.135, allocations: 39.31 kB / 290.9 MB, free: 28.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.135, allocations: 24.03 kB / 290.9 MB, free: 28.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/0.1358, allocations: 424.2 kB / 291.3 MB, free: 28.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.1388, allocations: 2.596 MB / 293.9 MB, free: 27.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.1395, allocations: 0.5408 MB / 294.5 MB, free: 27.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.1399, allocations: 254.7 kB / 294.7 MB, free: 27.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.1399, allocations: 21.94 kB / 294.7 MB, free: 27.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.14, allocations: 51.83 kB / 294.8 MB, free: 27.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.715e-06/0.14, allocations: 0 / 294.8 MB, free: 27.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=119): time 0.004258/0.1442, allocations: 3.035 MB / 297.8 MB, free: 25.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.1442, allocations: 89.86 kB / 297.9 MB, free: 25.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.1447, allocations: 0.5598 MB / 298.5 MB, free: 25.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.1448, allocations: 49.83 kB / 298.5 MB, free: 25.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1449, allocations: 499.8 kB / 299 MB, free: 24.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.1451, allocations: 418.7 kB / 299.4 MB, free: 24.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.1453, allocations: 193.7 kB / 299.6 MB, free: 24.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1454, allocations: 0.56 MB / 300.2 MB, free: 23.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.1457, allocations: 176.5 kB / 300.3 MB, free: 23.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.1461, allocations: 344.9 kB / 300.7 MB, free: 23.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.1468, allocations: 0.5715 MB / 301.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1468, allocations: 1.906 kB / 301.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001183/0.148, allocations: 0.8666 MB / 302.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.148, allocations: 10 kB / 302.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.148, allocations: 3.453 kB / 302.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/0.1484, allocations: 128 kB / 302.2 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.1489, allocations: 233.9 kB / 302.5 MB, free: 23.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.1507, allocations: 6.012 MB / 308.5 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.151, allocations: 39.91 kB / 308.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.151, allocations: 39.28 kB / 308.6 MB, free: 17.15 MB / 266.7 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.0001986/0.1512, allocations: 220 kB / 308.8 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.1513, allocations: 129.6 kB / 308.9 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006833/0.152, allocations: 0.5641 MB / 309.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.152, allocations: 12.97 kB / 309.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.152, allocations: 3.812 kB / 309.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.1521, allocations: 7.125 kB / 309.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.1538, allocations: 1.906 MB / 311.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1538, allocations: 3.938 kB / 311.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.1543, allocations: 189.8 kB / 311.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003542/0.1546, allocations: 179.5 kB / 311.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.1547, allocations: 24 kB / 311.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.1563, allocations: 7.21 MB / 319 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1563, allocations: 0 / 319 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1574, allocations: 1.26 MB / 320.3 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.1576, allocations: 171.3 kB / 320.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.1576, allocations: 24 kB / 320.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.1579, allocations: 36.02 kB / 320.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.158, allocations: 84.44 kB / 320.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.158, allocations: 40.05 kB / 320.6 MB, free: 5.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002377/0.1583, allocations: 378.7 kB / 321 MB, free: 5.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1583, allocations: 0 / 321 MB, free: 5.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005155/0.1588, allocations: 263.8 kB / 321.2 MB, free: 5.344 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 (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.0001123/0.1589, allocations: 131.8 kB / 321.4 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008814/0.1598, allocations: 1.132 MB / 322.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1598, allocations: 0 / 322.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.1603, allocations: 1.056 MB / 323.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.1609, allocations: 213.4 kB / 323.8 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1628, allocations: 1.905 MB / 325.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.163, allocations: 204 kB / 325.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.1632, allocations: 127.6 kB / 326 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1634, allocations: 78.23 kB / 326.1 MB, free: 352 kB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1634, allocations: 0 / 326.1 MB, free: 352 kB / 266.7 MB Notification: Performance of Templates: time 0.01599/0.1794, allocations: 12.67 MB / 338.7 MB, free: 3.906 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.1332905429881066]