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.001004/0.001004, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001211/0.001211, allocations: 166.3 kB / 24.91 MB, free: 8.77 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 0.9582/0.9582, allocations: 177 MB / 205.2 MB, free: 5.078 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.2857/0.2857, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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 1.512e-06/1.512e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.395e-05, allocations: 7.047 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01486/0.01488, allocations: 13.84 MB / 339.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.02541, allocations: 5.116 MB / 344.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.02678, allocations: 123.3 kB / 345 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003995/0.03077, allocations: 4.45 MB / 349.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.03449, allocations: 2.511 MB / 352 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.03619, allocations: 1.189 MB / 353.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006915/0.0431, allocations: 8.212 MB / 361.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00471/0.04781, allocations: 5.065 MB / 366.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004308/0.05212, allocations: 4.585 MB / 371 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.05467, allocations: 3.23 MB / 374.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004419/0.05512, allocations: 496 kB / 374.7 MB, free: 6.129 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.05653, allocations: 1.307 MB / 376 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.05804, allocations: 2.93 MB / 379 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.05928, allocations: 1.862 MB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.06362, allocations: 6.248 MB / 387.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.06362, allocations: 0 / 387.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.06363, allocations: 0 / 387.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.661e-05/0.06368, allocations: 0 / 387.1 MB, free: 9.746 MB / 362.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.006318/0.07, allocations: 6.404 MB / 393.5 MB, free: 3.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.07004, allocations: 12.03 kB / 393.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.07383, allocations: 1.48 MB / 395 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.07705, allocations: 2.988 MB / 398 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.0772, allocations: 328.8 kB / 398.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004526/0.07765, allocations: 444.1 kB / 398.7 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006104/0.08375, allocations: 6.547 MB / 405.3 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.08386, allocations: 67.45 kB / 405.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003422/0.0842, allocations: 203.8 kB / 405.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00161/0.08581, allocations: 2.149 MB / 407.7 MB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004563/0.09037, allocations: 3.219 MB / 410.9 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1937/0.2841, allocations: 39.79 MB / 450.7 MB, free: 80.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.2883, allocations: 2.048 MB / 452.7 MB, free: 80.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.2888, allocations: 450.2 kB / 453.2 MB, free: 80.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004702/0.2935, allocations: 4.068 MB / 457.2 MB, free: 79.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.2936, allocations: 57.45 kB / 457.3 MB, free: 79.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 3.025e-06/0.2936, allocations: 0 / 457.3 MB, free: 79.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.02567/0.3192, allocations: 11.44 MB / 468.7 MB, free: 77.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3193, allocations: 256.1 kB / 469 MB, free: 77.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/0.3222, allocations: 4.143 MB / 473.1 MB, free: 74.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.91e-05/0.3223, allocations: 53.2 kB / 473.2 MB, free: 74.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.3234, allocations: 3.914 MB / 477.1 MB, free: 70.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.3238, allocations: 0.8707 MB / 478 MB, free: 70.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009681/0.3247, allocations: 1.446 MB / 479.4 MB, free: 69.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.907e-05/0.3248, allocations: 309.1 kB / 479.7 MB, free: 68.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.3261, allocations: 0.9798 MB / 480.7 MB, free: 68.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.3283, allocations: 5.481 MB / 486.2 MB, free: 60.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/0.3323, allocations: 6.976 MB / 493.2 MB, free: 52.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.135e-05/0.3324, allocations: 48 kB / 493.2 MB, free: 51.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.005677/0.3381, allocations: 5.434 MB / 498.6 MB, free: 46.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.3381, allocations: 72 kB / 498.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/0.3382, allocations: 162.8 kB / 498.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.3397, allocations: 0.6681 MB / 499.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.3421, allocations: 1.684 MB / 0.4895 GB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.345, allocations: 3.707 MB / 0.4931 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.3475, allocations: 343.6 kB / 0.4934 GB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.3478, allocations: 384 kB / 0.4938 GB, free: 39.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (950): * Single equations (assignments): 945 * 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,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001251/0.349, allocations: 0.7283 MB / 0.4945 GB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.3494, allocations: 291.7 kB / 0.4948 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.3513, allocations: 1.522 MB / 0.4963 GB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.3514, allocations: 24 kB / 0.4963 GB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3514, allocations: 4 kB / 0.4963 GB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.3514, allocations: 11.95 kB / 0.4963 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007012/0.3584, allocations: 6.238 MB / 0.5024 GB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3584, allocations: 8 kB / 0.5024 GB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.3591, allocations: 307.5 kB / 0.5027 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.3604, allocations: 0.6689 MB / 0.5033 GB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/0.3605, allocations: 44 kB / 0.5034 GB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.3628, allocations: 3.337 MB / 0.5066 GB, free: 25.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3628, allocations: 15.94 kB / 0.5067 GB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.3654, allocations: 2.63 MB / 0.5092 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.3658, allocations: 428.9 kB / 0.5096 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.366, allocations: 44 kB / 0.5097 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008052/0.3669, allocations: 55.98 kB / 0.5097 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.367, allocations: 152.8 kB / 0.5099 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/0.3671, allocations: 59.92 kB / 0.5099 GB, free: 22.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.3681, allocations: 1.575 MB / 0.5115 GB, free: 20.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3681, allocations: 0 / 0.5115 GB, free: 20.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003346/0.3715, allocations: 1.445 MB / 0.5129 GB, free: 19.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (176): * Single equations (assignments): 171 * 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,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003003/0.3718, allocations: 190.7 kB / 0.5131 GB, free: 19.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.3747, allocations: 3.37 MB / 0.5164 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001504/0.3749, allocations: 112.2 kB / 0.5165 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.3757, allocations: 0.9089 MB / 0.5174 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.3776, allocations: 0.8612 MB / 0.5182 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009465/0.3871, allocations: 10.16 MB / 0.5281 GB, free: 3.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.3882, allocations: 1.659 MB / 0.5297 GB, free: 1.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001364/0.3895, allocations: 0.623 MB / 0.5303 GB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.3905, allocations: 0.7198 MB / 0.5311 GB, free: 412 kB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3905, allocations: 0 / 0.5311 GB, free: 412 kB / 410.7 MB Notification: Performance of Templates: time 0.06569/0.4562, allocations: 48.06 MB / 0.578 GB, free: 0.75 MB / 458.7 MB " [Timeout remaining time 660] 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: 4.344396616797894]