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.002011/0.002011, allocations: 102.7 kB / 21.93 MB, free: 5.203 MB / 14.72 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.001648/0.001648, allocations: 202.7 kB / 25.22 MB, free: 3.141 MB / 14.72 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 1.474/1.474, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 55.92 kB / 348.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2606, allocations: 49.16 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006326/0.267, allocations: 5.535 MB / 403.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.2705, allocations: 1.798 MB / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.271, allocations: 23.06 kB / 404.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.2716, allocations: 210.5 kB / 405.2 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008602/0.2724, allocations: 405.7 kB / 405.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007017/0.2731, allocations: 376.9 kB / 405.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.2746, allocations: 1.486 MB / 407.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005001/0.2751, allocations: 326 kB / 407.7 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007192/0.2759, allocations: 0.5577 MB / 408.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006336/0.2765, allocations: 0.5219 MB / 408.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.2767, allocations: 158.1 kB / 409 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.2769, allocations: 163.3 kB / 409.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.2771, allocations: 304.2 kB / 409.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.2775, allocations: 0.5256 MB / 409.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.2792, allocations: 1.864 MB / 411.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2792, allocations: 0 / 411.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2792, allocations: 0 / 411.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.2793, allocations: 0 / 411.8 MB, free: 0.5547 MB / 318.1 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.002957/0.2822, allocations: 1.403 MB / 413.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2823, allocations: 18.23 kB / 413.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.2825, allocations: 123.5 kB / 413.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.2838, allocations: 0.6111 MB / 414 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/0.2839, allocations: 73.69 kB / 414 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.2841, allocations: 100.1 kB / 414.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.286, allocations: 1.064 MB / 415.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/0.2861, allocations: 10.64 kB / 415.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.2862, allocations: 38.22 kB / 415.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.2862, allocations: 23.83 kB / 415.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.2881, allocations: 0.8607 MB / 416.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005111/0.2932, allocations: 2.711 MB / 418.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.2947, allocations: 0.7567 MB / 419.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008762/0.2956, allocations: 445.6 kB / 420 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.209e-05/0.2956, allocations: 23.11 kB / 420 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.2957, allocations: 40.66 kB / 420.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.015e-06/0.2957, allocations: 0 / 420.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.009844/0.3055, allocations: 3.927 MB / 424 MB, free: 8.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.3056, allocations: 89.77 kB / 424.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008593/0.3065, allocations: 0.5573 MB / 424.7 MB, free: 7.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/0.3065, allocations: 45.7 kB / 424.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.3069, allocations: 445 kB / 425.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.3072, allocations: 416.4 kB / 425.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.3075, allocations: 178.9 kB / 425.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3078, allocations: 394.7 kB / 426.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/0.3086, allocations: 374.4 kB / 426.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009487/0.3096, allocations: 0.5158 MB / 427 MB, free: 5.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.3113, allocations: 0.8887 MB / 427.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3113, allocations: 0 / 427.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002459/0.3138, allocations: 1.181 MB / 429.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3138, allocations: 7.938 kB / 429.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3138, allocations: 4 kB / 429.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/0.3142, allocations: 130.5 kB / 429.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.3153, allocations: 247.7 kB / 429.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.3194, allocations: 4.576 MB / 434 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.3203, allocations: 55.92 kB / 434.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.3204, allocations: 48.17 kB / 434.1 MB, free: 13.87 MB / 350.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 (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.0005151/0.3209, allocations: 273.6 kB / 434.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.3211, allocations: 91.38 kB / 434.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.3227, allocations: 0.7601 MB / 435.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.3228, allocations: 8 kB / 435.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3228, allocations: 4 kB / 435.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.3228, allocations: 11.91 kB / 435.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/0.327, allocations: 2.214 MB / 437.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.327, allocations: 0 / 437.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009006/0.3279, allocations: 207.8 kB / 437.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.3283, allocations: 155.4 kB / 437.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.3284, allocations: 24 kB / 437.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00478/0.3332, allocations: 5.473 MB / 443.3 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.3332, allocations: 3.984 kB / 443.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/0.3366, allocations: 1.735 MB / 445.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.3369, allocations: 83.48 kB / 445.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.337, allocations: 24 kB / 445.2 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/0.3376, allocations: 51.95 kB / 445.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.3377, allocations: 84.44 kB / 445.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.3378, allocations: 31.98 kB / 445.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005462/0.3384, allocations: 394.8 kB / 445.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3384, allocations: 0 / 445.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009735/0.3393, allocations: 256 kB / 446 MB, free: 1.473 MB / 350.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 (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.0001976/0.3395, allocations: 131 kB / 446.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.342, allocations: 1.291 MB / 447.4 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.342, allocations: 0 / 447.4 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.3435, allocations: 0.9715 MB / 448.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3446, allocations: 182.2 kB / 448.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.3486, allocations: 2.211 MB / 450.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.3491, allocations: 436.7 kB / 451.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.3494, allocations: 83.41 kB / 451.2 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3494, allocations: 0 / 451.2 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.03472/0.3842, allocations: 29.46 MB / 480.7 MB, free: 14.46 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.713822375983]