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.001484/0.001484, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001243/0.001243, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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.094/1.094, allocations: 177 MB / 205.2 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.2823/0.2823, allocations: 34.87 MB / 296.6 MB, free: 0.5352 MB / 266.7 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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|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.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|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.214e-06/2.214e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.884e-05/5.106e-05, allocations: 2.312 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01263/0.01268, allocations: 14.15 MB / 392.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009909/0.02259, allocations: 4.917 MB / 397.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.0244, allocations: 127.3 kB / 398 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004672/0.02907, allocations: 4.451 MB / 402.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.03315, allocations: 2.464 MB / 404.9 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.03487, allocations: 1.189 MB / 406.1 MB, free: 6.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006058/0.04093, allocations: 8.233 MB / 414.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/0.04449, allocations: 4.951 MB / 419.2 MB, free: 9.727 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.04763, allocations: 3.536 MB / 422.8 MB, free: 6.184 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/0.05068, allocations: 3.531 MB / 426.3 MB, free: 2.645 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005178/0.05119, allocations: 0.5 MB / 426.8 MB, free: 2.145 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.05275, allocations: 1.334 MB / 428.1 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.05448, allocations: 2.961 MB / 431.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.05592, allocations: 1.885 MB / 433 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005351/0.06127, allocations: 6.314 MB / 439.3 MB, free: 5.613 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.06128, allocations: 0 / 439.3 MB, free: 5.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.06128, allocations: 0 / 439.3 MB, free: 5.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.205e-05/0.06133, allocations: 4 kB / 439.3 MB, free: 5.609 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.1748/0.2361, allocations: 7.491 MB / 446.8 MB, free: 99.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.2362, allocations: 12.38 kB / 446.8 MB, free: 99.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.2489, allocations: 3.968 MB / 450.8 MB, free: 99.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005435/0.2543, allocations: 3.959 MB / 454.7 MB, free: 97.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.2545, allocations: 326.6 kB / 455.1 MB, free: 97.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005527/0.255, allocations: 448.6 kB / 455.5 MB, free: 97.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009122/0.2641, allocations: 7.989 MB / 463.5 MB, free: 92.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.2643, allocations: 69.06 kB / 463.6 MB, free: 92.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.2646, allocations: 206.2 kB / 463.8 MB, free: 92.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002266/0.2669, allocations: 2.535 MB / 466.3 MB, free: 92.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008221/0.2751, allocations: 4.419 MB / 470.7 MB, free: 91.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03722/0.3123, allocations: 55.09 MB / 0.5135 GB, free: 45.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008119/0.3205, allocations: 2.751 MB / 0.5162 GB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.3216, allocations: 1.017 MB / 0.5172 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.3219, allocations: 227.6 kB / 0.5174 GB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3219, allocations: 67.33 kB / 0.5174 GB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 4.198e-06/0.3219, allocations: 0 / 0.5174 GB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=315): time 0.04573/0.3677, allocations: 24.48 MB / 0.5413 GB, free: 17.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.3677, allocations: 269.3 kB / 0.5416 GB, free: 17.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/0.3716, allocations: 4.34 MB / 0.5458 GB, free: 13.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003192/0.3719, allocations: 77.69 kB / 0.5459 GB, free: 12.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.3735, allocations: 4.219 MB / 0.55 GB, free: 8.684 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000997/0.3744, allocations: 1.264 MB / 0.5513 GB, free: 7.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001836/0.3763, allocations: 1.703 MB / 0.5529 GB, free: 5.695 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.305e-05/0.3763, allocations: 484.7 kB / 0.5534 GB, free: 5.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.3785, allocations: 1.108 MB / 0.5545 GB, free: 4.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005364/0.3838, allocations: 7.38 MB / 0.5617 GB, free: 9.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009923/0.3937, allocations: 9.241 MB / 0.5707 GB, free: 13.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/0.3938, allocations: 44 kB / 0.5707 GB, free: 13.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.01574/0.4096, allocations: 8.246 MB / 0.5788 GB, free: 5.531 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.316e-05/0.4097, allocations: 68 kB / 0.5789 GB, free: 5.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/0.4098, allocations: 144 kB / 0.579 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/0.4148, allocations: 1.758 MB / 0.5807 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004404/0.4192, allocations: 1.778 MB / 0.5825 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/0.4341, allocations: 8.299 MB / 0.5906 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008339/0.4424, allocations: 0.5577 MB / 0.5911 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007626/0.4432, allocations: 455.9 kB / 0.5915 GB, free: 8.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * 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 (948): * Single equations (assignments): 943 * 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.002088/0.4453, allocations: 0.7599 MB / 0.5923 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000872/0.4461, allocations: 0.54 MB / 0.5928 GB, free: 6.914 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006446/0.4526, allocations: 3.933 MB / 0.5966 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.4526, allocations: 32 kB / 0.5967 GB, free: 2.879 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.4526, allocations: 15.98 kB / 0.5967 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.4526, allocations: 11.95 kB / 0.5967 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1919/0.6445, allocations: 10.27 MB / 0.6067 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.6446, allocations: 4.719 kB / 0.6067 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.6459, allocations: 0.4963 MB / 0.6072 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/0.6494, allocations: 1.538 MB / 0.6087 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.6496, allocations: 65.66 kB / 0.6088 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006933/0.6566, allocations: 7.019 MB / 0.6156 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6566, allocations: 6.156 kB / 0.6156 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007908/0.6645, allocations: 5.484 MB / 0.621 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000737/0.6652, allocations: 471.4 kB / 0.6215 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/0.6656, allocations: 62.77 kB / 0.6215 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.6671, allocations: 293.7 kB / 0.6218 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004117/0.6675, allocations: 218.2 kB / 0.622 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.6677, allocations: 92.55 kB / 0.6221 GB, free: 117.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002306/0.67, allocations: 1.933 MB / 0.624 GB, free: 117 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.67, allocations: 0 / 0.624 GB, free: 117 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004866/0.6748, allocations: 1.712 MB / 0.6256 GB, free: 116.9 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 (253): * Single equations (assignments): 248 * 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.0004876/0.6753, allocations: 221.1 kB / 0.6259 GB, free: 116.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006793/0.6821, allocations: 4.888 MB / 0.6306 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.6821, allocations: 1.938 kB / 0.6306 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.6844, allocations: 1.906 MB / 0.6325 GB, free: 114.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.6866, allocations: 0.6002 MB / 0.6331 GB, free: 114.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.7018, allocations: 11.58 MB / 0.6444 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.7037, allocations: 1.745 MB / 0.6461 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003528/0.7072, allocations: 1.998 MB / 0.648 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008264/0.708, allocations: 335.1 kB / 0.6484 GB, free: 107.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.934e-06/0.708, allocations: 0 / 0.6484 GB, free: 107.8 MB / 458.7 MB Notification: Performance of Templates: time 0.066/0.774, allocations: 64.02 MB / 0.7109 GB, free: 48.75 MB / 458.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] 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","",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.309224851895124]