Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.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.002019/0.002019, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002197/0.002197, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.562/1.562, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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.3424/0.3424, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.112e-05, allocations: 3.859 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01833/0.01836, allocations: 12.78 MB / 390 MB, free: 6.047 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.03184, allocations: 4.812 MB / 394.8 MB, free: 1.219 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004617/0.03646, allocations: 123.3 kB / 394.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.04658, allocations: 4.31 MB / 399.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008543/0.05512, allocations: 2.468 MB / 401.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.05879, allocations: 1.189 MB / 402.9 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.07186, allocations: 8.238 MB / 411.1 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009076/0.08093, allocations: 4.935 MB / 416.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008266/0.0892, allocations: 3.516 MB / 419.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007073/0.09627, allocations: 3.445 MB / 423 MB, free: 4.867 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.09811, allocations: 0.5039 MB / 423.5 MB, free: 4.363 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.1018, allocations: 1.334 MB / 424.9 MB, free: 3.027 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005619/0.1074, allocations: 2.945 MB / 427.8 MB, free: 76 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005419/0.1128, allocations: 1.877 MB / 429.7 MB, free: 14.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01723/0.13, allocations: 9.985 MB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.13, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.29e-06/0.13, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004933/0.1305, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.2119/0.3424, allocations: 7.103 MB / 446.8 MB, free: 97.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3425, allocations: 11.03 kB / 446.8 MB, free: 97.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02466/0.3671, allocations: 4.001 MB / 450.8 MB, free: 96.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009612/0.3768, allocations: 4.337 MB / 455.1 MB, free: 94.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.3771, allocations: 326.6 kB / 455.5 MB, free: 94.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/0.3791, allocations: 448.1 kB / 455.9 MB, free: 94.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/0.4058, allocations: 13.35 MB / 469.2 MB, free: 88.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002524/0.4061, allocations: 69.39 kB / 469.3 MB, free: 88.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007471/0.4068, allocations: 204.1 kB / 469.5 MB, free: 88.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004335/0.4112, allocations: 2.54 MB / 472 MB, free: 87.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02341/0.4346, allocations: 11.44 MB / 483.5 MB, free: 84.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06527/0.4998, allocations: 49.07 MB / 0.5201 GB, free: 36.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.5123, allocations: 5.05 MB / 0.525 GB, free: 31.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/0.5159, allocations: 3.254 MB / 0.5282 GB, free: 28.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005527/0.5165, allocations: 250.3 kB / 0.5284 GB, free: 28.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.5165, allocations: 68.48 kB / 0.5285 GB, free: 27.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 6.202e-06/0.5165, allocations: 0 / 0.5285 GB, free: 27.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.1394/0.6559, allocations: 46.35 MB / 0.5738 GB, free: 13.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002336/0.6562, allocations: 265.4 kB / 0.574 GB, free: 13.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/0.667, allocations: 4.995 MB / 0.5789 GB, free: 8.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009642/0.6679, allocations: 73.7 kB / 0.579 GB, free: 8.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004624/0.6726, allocations: 4.011 MB / 0.5829 GB, free: 4.176 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002618/0.6752, allocations: 1.225 MB / 0.5841 GB, free: 2.941 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005305/0.6805, allocations: 1.588 MB / 0.5856 GB, free: 1.344 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.6807, allocations: 305.1 kB / 0.5859 GB, free: 1.043 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007539/0.6882, allocations: 3.9 MB / 0.5897 GB, free: 13.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01329/0.7015, allocations: 8.153 MB / 0.5977 GB, free: 2.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2034/0.9049, allocations: 12.77 MB / 0.6102 GB, free: 118.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/0.905, allocations: 40.97 kB / 0.6102 GB, free: 118.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=1023) (initialization): time 0.02298/0.928, allocations: 14.61 MB / 0.6245 GB, free: 113.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/0.9281, allocations: 66 kB / 0.6245 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/0.9283, allocations: 147.7 kB / 0.6247 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007567/0.9358, allocations: 3.116 MB / 0.6277 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006243/0.9421, allocations: 1.816 MB / 0.6295 GB, free: 112.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.9639, allocations: 17.58 MB / 0.6466 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006952/0.9708, allocations: 0.5864 MB / 0.6472 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001182/0.972, allocations: 454.5 kB / 0.6477 GB, free: 103.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (947): * Single equations (assignments): 942 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00388/0.9759, allocations: 2.755 MB / 0.6503 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/0.9772, allocations: 0.5357 MB / 0.6509 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/0.9919, allocations: 8.59 MB / 0.6593 GB, free: 99.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.946e-05/0.992, allocations: 39.84 kB / 0.6593 GB, free: 99.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-05/0.992, allocations: 11.72 kB / 0.6593 GB, free: 99.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.91e-05/0.9921, allocations: 12.34 kB / 0.6593 GB, free: 99.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/1.018, allocations: 16.47 MB / 0.6754 GB, free: 85.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-05/1.018, allocations: 12.16 kB / 0.6754 GB, free: 85.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/1.021, allocations: 0.546 MB / 0.6759 GB, free: 85.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006778/1.027, allocations: 2.824 MB / 0.6787 GB, free: 82.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004815/1.028, allocations: 75.92 kB / 0.6788 GB, free: 82.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/1.044, allocations: 15.64 MB / 0.694 GB, free: 66.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.044, allocations: 12 kB / 0.6941 GB, free: 66.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.062, allocations: 13.66 MB / 0.7074 GB, free: 52.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.064, allocations: 499.1 kB / 0.7079 GB, free: 52.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.066, allocations: 67.38 kB / 0.7079 GB, free: 52.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003196/1.069, allocations: 339.5 kB / 0.7083 GB, free: 51.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000708/1.069, allocations: 217.4 kB / 0.7085 GB, free: 51.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002732/1.07, allocations: 87.98 kB / 0.7085 GB, free: 51.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003895/1.074, allocations: 2.99 MB / 0.7115 GB, free: 48.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.074, allocations: 4 kB / 0.7115 GB, free: 48.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007459/1.081, allocations: 1.749 MB / 0.7132 GB, free: 46.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (257): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007133/1.082, allocations: 222.7 kB / 0.7134 GB, free: 46.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01282/1.095, allocations: 9.114 MB / 0.7223 GB, free: 37.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/1.095, allocations: 0 / 0.7223 GB, free: 37.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00448/1.099, allocations: 3.566 MB / 0.7258 GB, free: 33.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004564/1.104, allocations: 0.6281 MB / 0.7264 GB, free: 33.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/1.125, allocations: 14.92 MB / 0.741 GB, free: 18.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004167/1.129, allocations: 3.782 MB / 0.7447 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005483/1.135, allocations: 2.445 MB / 0.747 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.136, allocations: 328.4 kB / 0.7474 GB, free: 11.72 MB / 458.7 MB Notification: Performance of SimCode: time 1.342e-06/1.136, allocations: 0 / 0.7474 GB, free: 11.72 MB / 458.7 MB Notification: Performance of Templates: time 0.2885/1.425, allocations: 67.71 MB / 0.8135 GB, free: 119.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.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: 8.369577531935647]