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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 189.4 kB / 22.93 MB, free: 5.484 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.501/1.501, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 54.11 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2755, allocations: 49.11 MB / 394.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006867/0.2824, allocations: 6.297 MB / 400.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00355/0.2859, allocations: 1.874 MB / 402.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.2866, allocations: 19.38 kB / 402.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.2872, allocations: 218.8 kB / 402.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009173/0.2882, allocations: 408.8 kB / 403.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007289/0.2889, allocations: 375.5 kB / 403.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2902, allocations: 1.495 MB / 405.2 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.2907, allocations: 354.7 kB / 405.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005999/0.2913, allocations: 0.5418 MB / 406.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005931/0.2919, allocations: 0.6016 MB / 406.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.292, allocations: 158.6 kB / 406.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.2923, allocations: 159.5 kB / 407 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.2924, allocations: 301 kB / 407.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004854/0.2929, allocations: 0.6422 MB / 407.9 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.2948, allocations: 1.856 MB / 409.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2948, allocations: 3.938 kB / 409.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2948, allocations: 0 / 409.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.2948, allocations: 7.938 kB / 409.8 MB, free: 15.64 MB / 334.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.003162/0.298, allocations: 1.465 MB / 411.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.298, allocations: 10.34 kB / 411.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.2982, allocations: 132.2 kB / 411.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.2995, allocations: 0.6805 MB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.2996, allocations: 74.34 kB / 412.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.2997, allocations: 99.95 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.3016, allocations: 1.013 MB / 413.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.3017, allocations: 2.156 kB / 413.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/0.3018, allocations: 39.78 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.3018, allocations: 24.25 kB / 413.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.3036, allocations: 0.8612 MB / 414.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005655/0.3093, allocations: 3.316 MB / 417.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.311, allocations: 0.7606 MB / 418.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.3121, allocations: 446.9 kB / 418.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-05/0.3122, allocations: 14.48 kB / 418.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.3122, allocations: 42.75 kB / 418.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.827e-06/0.3122, allocations: 0 / 418.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.01086/0.3231, allocations: 4.326 MB / 423.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.3231, allocations: 98.17 kB / 423.2 MB, free: 6.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009081/0.3241, allocations: 0.597 MB / 423.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.3241, allocations: 45.7 kB / 423.8 MB, free: 6.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.3245, allocations: 441 kB / 424.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.3249, allocations: 412.4 kB / 424.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003543/0.3252, allocations: 186.9 kB / 424.8 MB, free: 5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002717/0.3255, allocations: 394.7 kB / 425.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009062/0.3264, allocations: 382.4 kB / 425.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009245/0.3273, allocations: 0.5042 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.329, allocations: 0.8848 MB / 427 MB, free: 2.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.329, allocations: 0 / 427 MB, free: 2.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002452/0.3315, allocations: 1.193 MB / 428.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3315, allocations: 8 kB / 428.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3315, allocations: 4 kB / 428.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.3319, allocations: 130.5 kB / 428.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.333, allocations: 243.7 kB / 428.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/0.3374, allocations: 4.977 MB / 433.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/0.3381, allocations: 51.98 kB / 433.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.3382, allocations: 47.98 kB / 433.6 MB, free: 11.69 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.0005106/0.3387, allocations: 277.6 kB / 433.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.3389, allocations: 99.38 kB / 434 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.3406, allocations: 0.7644 MB / 434.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.3406, allocations: 12 kB / 434.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.3406, allocations: 4 kB / 434.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.3406, allocations: 11.97 kB / 434.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004501/0.3451, allocations: 2.636 MB / 437.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3451, allocations: 0 / 437.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009505/0.346, allocations: 211.7 kB / 437.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.3465, allocations: 151.3 kB / 437.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.3466, allocations: 27.98 kB / 437.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005162/0.3517, allocations: 5.99 MB / 443.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3517, allocations: 3.938 kB / 443.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.3551, allocations: 1.742 MB / 445.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.3553, allocations: 164.6 kB / 445.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.3555, allocations: 27.94 kB / 445.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/0.356, allocations: 51.95 kB / 445.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.3562, allocations: 76.39 kB / 445.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/0.3563, allocations: 35.98 kB / 445.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000618/0.3569, allocations: 435.1 kB / 446.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3569, allocations: 0 / 446.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009534/0.3579, allocations: 260 kB / 446.6 MB, free: 13.99 MB / 366.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.0001836/0.358, allocations: 135 kB / 446.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002449/0.3605, allocations: 1.295 MB / 448 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3605, allocations: 4 kB / 448 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.362, allocations: 0.974 MB / 449 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.363, allocations: 183.2 kB / 449.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.3669, allocations: 2.171 MB / 451.3 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/0.3676, allocations: 1.024 MB / 452.3 MB, free: 8.043 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004712/0.368, allocations: 123.6 kB / 452.5 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.3683, allocations: 79.41 kB / 452.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3683, allocations: 0 / 452.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of Templates: time 0.02294/0.3912, allocations: 12.57 MB / 465.1 MB, free: 11.25 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/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: 5.251500768586993]