Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001969/0.001969, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001664/0.001664, allocations: 162 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9523/0.9523, allocations: 158.6 MB / 187.6 MB, free: 2.484 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5030,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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.596e-05, allocations: 2.312 kB / 251.1 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005655/0.005681, allocations: 6.129 MB / 257.2 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.008384, allocations: 1.855 MB / 259.1 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.008738, allocations: 19.94 kB / 259.1 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.009136, allocations: 214.1 kB / 259.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005849/0.009721, allocations: 420.5 kB / 259.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.01029, allocations: 375.5 kB / 260.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.01135, allocations: 1.537 MB / 261.6 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005055/0.01186, allocations: 325.8 kB / 261.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007417/0.0126, allocations: 0.8461 MB / 262.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/0.01303, allocations: 474.7 kB / 263.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.01316, allocations: 160 kB / 263.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.0133, allocations: 156 kB / 263.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.01345, allocations: 311 kB / 263.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.01377, allocations: 467 kB / 264.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.01479, allocations: 0.9733 MB / 265.3 MB, free: 9.496 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.0148, allocations: 4 kB / 265.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0148, allocations: 0 / 265.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.01481, allocations: 0 / 265.3 MB, free: 9.492 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001558/0.01637, allocations: 1.453 MB / 266.8 MB, free: 8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.44e-05/0.0164, allocations: 11.98 kB / 266.8 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.0166, allocations: 204.1 kB / 267 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/0.01738, allocations: 0.6292 MB / 267.6 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.01743, allocations: 74.38 kB / 267.7 MB, free: 7.059 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.01753, allocations: 100.4 kB / 267.8 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.01854, allocations: 0.7966 MB / 268.6 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.01857, allocations: 4.141 kB / 268.6 MB, free: 6.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/0.01863, allocations: 44.31 kB / 268.6 MB, free: 6.082 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.01865, allocations: 27.94 kB / 268.6 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.01934, allocations: 429.5 kB / 269.1 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.02261, allocations: 2.59 MB / 271.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.02349, allocations: 0.524 MB / 272.2 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.02386, allocations: 260.5 kB / 272.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.02391, allocations: 20.48 kB / 272.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.02396, allocations: 53.77 kB / 272.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of pre-optimization done (n=91): time 3.757e-06/0.02396, allocations: 0 / 272.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=115): time 0.004694/0.02865, allocations: 2.983 MB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.0287, allocations: 89.77 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.02917, allocations: 0.5376 MB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.02922, allocations: 41.7 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.02946, allocations: 495.7 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.02968, allocations: 408.5 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.02988, allocations: 188.6 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.03006, allocations: 0.5664 MB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.03036, allocations: 174.5 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.03075, allocations: 350.3 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.03141, allocations: 0.5479 MB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.03141, allocations: 0 / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001069/0.03248, allocations: 0.8433 MB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.0325, allocations: 7.938 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.03251, allocations: 4 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/0.03289, allocations: 131 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/0.03344, allocations: 239.6 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.0363, allocations: 6.012 MB / 286.1 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.0367, allocations: 40.08 kB / 286.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.03675, allocations: 39.98 kB / 286.1 MB, free: 3.727 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 (128): * Single equations (assignments): 125 * 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.0002652/0.03702, allocations: 228.3 kB / 286.4 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.03715, allocations: 123.5 kB / 286.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/0.03791, allocations: 0.5574 MB / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.03792, allocations: 15.98 kB / 287.1 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.03793, allocations: 0 / 287.1 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.03793, allocations: 7.984 kB / 287.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.04002, allocations: 1.874 MB / 288.9 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.04002, allocations: 8.031 kB / 289 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.04049, allocations: 195.7 kB / 289.1 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003893/0.04088, allocations: 162.6 kB / 289.3 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.04092, allocations: 31.92 kB / 289.3 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/0.04391, allocations: 7.204 MB / 296.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.04392, allocations: 4 kB / 296.5 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.04528, allocations: 1.268 MB / 297.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.04537, allocations: 79.47 kB / 297.9 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/0.04544, allocations: 27.98 kB / 297.9 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.04569, allocations: 31.98 kB / 297.9 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.04581, allocations: 88.39 kB / 298 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.04585, allocations: 31.98 kB / 298.1 MB, free: 7.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002909/0.04614, allocations: 362.8 kB / 298.4 MB, free: 6.785 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04614, allocations: 0 / 298.4 MB, free: 6.785 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005987/0.04674, allocations: 252 kB / 298.7 MB, free: 6.539 MB / 282.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 (104): * Single equations (assignments): 100 * 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.0001409/0.04688, allocations: 135 kB / 298.8 MB, free: 6.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.04806, allocations: 1.146 MB / 299.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.04807, allocations: 0 / 299.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007233/0.04879, allocations: 1.039 MB / 301 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.0494, allocations: 209.4 kB / 301.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.05177, allocations: 1.845 MB / 303 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.05192, allocations: 199.2 kB / 303.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.05221, allocations: 115.3 kB / 303.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.05236, allocations: 76.47 kB / 303.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of SimCode: time 1.493e-06/0.05236, allocations: 0 / 303.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of Templates: time 0.01506/0.06742, allocations: 12.11 MB / 315.5 MB, free: 5.504 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.194866382982582]