Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001734/0.001734, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002282/0.002282, allocations: 160.5 kB / 24.49 MB, free: 3.453 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.449/1.449, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 34.25 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 79.88 kB / 443.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2975, allocations: 66.05 MB / 0.4973 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01216/0.3096, allocations: 9.114 MB / 0.5062 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008354/0.318, allocations: 3.693 MB / 0.5098 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.3195, allocations: 71.69 kB / 0.5098 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004434/0.3239, allocations: 2.028 MB / 0.5118 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.3287, allocations: 1.724 MB / 0.5135 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.3305, allocations: 0.6901 MB / 0.5142 GB, free: 192 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006197/0.3367, allocations: 4.013 MB / 0.5181 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.3397, allocations: 2.152 MB / 0.5202 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.3418, allocations: 1.324 MB / 0.5215 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.3446, allocations: 1.908 MB / 0.5234 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005498/0.3452, allocations: 264 kB / 0.5236 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.3473, allocations: 1.081 MB / 0.5247 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.3489, allocations: 1.702 MB / 0.5263 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.3505, allocations: 1.39 MB / 0.5277 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006716/0.3572, allocations: 6.205 MB / 0.5337 GB, free: 12.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3572, allocations: 0 / 0.5337 GB, free: 12.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3572, allocations: 0 / 0.5337 GB, free: 12.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001172/0.3573, allocations: 0 / 0.5337 GB, free: 12.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.008111/0.3655, allocations: 4.249 MB / 0.5379 GB, free: 7.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3655, allocations: 8.031 kB / 0.5379 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.3825, allocations: 2.561 MB / 0.5404 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0061/0.3886, allocations: 2.354 MB / 0.5427 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.3888, allocations: 189.3 kB / 0.5429 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007301/0.3895, allocations: 287.8 kB / 0.5432 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.4037, allocations: 8.659 MB / 0.5516 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.4038, allocations: 43.69 kB / 0.5517 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/0.4041, allocations: 131.9 kB / 0.5518 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002996/0.4071, allocations: 1.735 MB / 0.5535 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.4225, allocations: 7.272 MB / 0.5606 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04356/0.4661, allocations: 31.69 MB / 0.5915 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009095/0.4752, allocations: 2.989 MB / 0.5944 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/0.4776, allocations: 1.573 MB / 0.596 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.4894, allocations: 6.124 MB / 0.602 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.4894, allocations: 55.5 kB / 0.602 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.12e-06/0.4894, allocations: 0 / 0.602 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06584/0.5553, allocations: 19.66 MB / 0.6212 GB, free: 0.5664 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.5554, allocations: 201.2 kB / 0.6214 GB, free: 336 kB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005594/0.561, allocations: 3.558 MB / 0.6249 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004106/0.5614, allocations: 57.69 kB / 0.6249 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002483/0.5639, allocations: 2.934 MB / 0.6278 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.5649, allocations: 0.7521 MB / 0.6285 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/0.5667, allocations: 1.211 MB / 0.6297 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5669, allocations: 301.1 kB / 0.63 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003659/0.5705, allocations: 2.143 MB / 0.6321 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.268/0.8385, allocations: 5.761 MB / 0.6377 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.8487, allocations: 8.484 MB / 0.646 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002058/0.8489, allocations: 36.22 kB / 0.646 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01722/0.8661, allocations: 9.093 MB / 0.6549 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.958e-05/0.8662, allocations: 61.27 kB / 0.655 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/0.8663, allocations: 123.4 kB / 0.6551 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005365/0.8717, allocations: 1.732 MB / 0.6568 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00407/0.8758, allocations: 1.33 MB / 0.6581 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.8875, allocations: 9.487 MB / 0.6674 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/0.892, allocations: 329.1 kB / 0.6677 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006638/0.8926, allocations: 358.7 kB / 0.668 GB, free: 101.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002473/0.8951, allocations: 1.892 MB / 0.6699 GB, free: 99.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/0.8956, allocations: 317.9 kB / 0.6702 GB, free: 99.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007968/0.9035, allocations: 4.03 MB / 0.6741 GB, free: 95.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.965e-05/0.9036, allocations: 20 kB / 0.6741 GB, free: 95.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.9036, allocations: 12.45 kB / 0.6741 GB, free: 95.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.9036, allocations: 7.969 kB / 0.6741 GB, free: 95.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.9176, allocations: 7.401 MB / 0.6814 GB, free: 87.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.9176, allocations: 0 / 0.6814 GB, free: 87.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.9189, allocations: 251.6 kB / 0.6816 GB, free: 87.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004859/0.9238, allocations: 1.51 MB / 0.6831 GB, free: 86.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/0.924, allocations: 35.98 kB / 0.6831 GB, free: 86.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.9348, allocations: 8.778 MB / 0.6917 GB, free: 77.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.9348, allocations: 0 / 0.6917 GB, free: 77.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/0.9453, allocations: 6.585 MB / 0.6981 GB, free: 70.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008596/0.9461, allocations: 283.1 kB / 0.6984 GB, free: 70.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.9465, allocations: 36.89 kB / 0.6984 GB, free: 70.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.9478, allocations: 99.88 kB / 0.6985 GB, free: 70.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/0.9481, allocations: 113.1 kB / 0.6986 GB, free: 70.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.9482, allocations: 48 kB / 0.6987 GB, free: 70.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00248/0.9507, allocations: 2.044 MB / 0.7007 GB, free: 68.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.9507, allocations: 0 / 0.7007 GB, free: 68.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004697/0.9554, allocations: 0.9734 MB / 0.7016 GB, free: 67.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003986/0.9558, allocations: 163 kB / 0.7018 GB, free: 67.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006888/0.9627, allocations: 5.07 MB / 0.7067 GB, free: 62.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.9627, allocations: 0 / 0.7067 GB, free: 62.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.9646, allocations: 1.598 MB / 0.7083 GB, free: 60.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.9668, allocations: 348 kB / 0.7086 GB, free: 60.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.9787, allocations: 8.596 MB / 0.717 GB, free: 51.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/0.981, allocations: 2.413 MB / 0.7194 GB, free: 49.08 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003303/0.9843, allocations: 1.777 MB / 0.7211 GB, free: 47.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/0.9847, allocations: 212.5 kB / 0.7213 GB, free: 47.09 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.9847, allocations: 0 / 0.7213 GB, free: 47.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.05267/1.037, allocations: 33.36 MB / 0.7539 GB, free: 14.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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: 7.046314531005919]