Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.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.001442/0.001442, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001767/0.001767, allocations: 162.2 kB / 24.99 MB, free: 8.801 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.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.602 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.2793/0.2793, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.873e-05, allocations: 10.25 kB / 378.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01251/0.01254, allocations: 16.15 MB / 394.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.01769, allocations: 3.886 MB / 398.8 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.01843, allocations: 107.6 kB / 398.9 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.0207, allocations: 2.315 MB / 401.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.02348, allocations: 2.664 MB / 403.9 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.02386, allocations: 343.3 kB / 404.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00434/0.0282, allocations: 6.664 MB / 410.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.03012, allocations: 3.2 MB / 414.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.03214, allocations: 3.098 MB / 417.2 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.0344, allocations: 2.938 MB / 420.1 MB, free: 8.875 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003729/0.03477, allocations: 396 kB / 420.5 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008498/0.03562, allocations: 0.8349 MB / 421.3 MB, free: 7.652 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.03706, allocations: 2.913 MB / 424.2 MB, free: 4.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.03837, allocations: 1.657 MB / 425.9 MB, free: 3.066 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004251/0.04263, allocations: 6.562 MB / 432.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.04263, allocations: 3.938 kB / 432.5 MB, free: 12.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.04263, allocations: 0 / 432.5 MB, free: 12.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.928e-05/0.04269, allocations: 0 / 432.5 MB, free: 12.47 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.006307/0.049, allocations: 7.76 MB / 440.2 MB, free: 4.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.04904, allocations: 12.03 kB / 440.2 MB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1591/0.2082, allocations: 6.824 MB / 447 MB, free: 73.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00471/0.2129, allocations: 3.067 MB / 450.1 MB, free: 73.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.2131, allocations: 323.2 kB / 450.4 MB, free: 73.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007235/0.2138, allocations: 417 kB / 450.8 MB, free: 73.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.2273, allocations: 9.392 MB / 460.2 MB, free: 70.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.511e-05/0.2273, allocations: 38.88 kB / 460.3 MB, free: 70.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005603/0.2279, allocations: 207.8 kB / 460.5 MB, free: 70.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005129/0.233, allocations: 4.745 MB / 465.2 MB, free: 70.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.2481, allocations: 5.675 MB / 470.9 MB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04207/0.2902, allocations: 60.17 MB / 0.5186 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00658/0.2967, allocations: 3.497 MB / 0.522 GB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.2979, allocations: 0.7578 MB / 0.5228 GB, free: 22.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008592/0.3065, allocations: 7.321 MB / 0.5299 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3065, allocations: 59.38 kB / 0.53 GB, free: 16.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 5.33e-06/0.3065, allocations: 0 / 0.53 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.008115/0.3146, allocations: 4.207 MB / 0.5341 GB, free: 12.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.3146, allocations: 106.5 kB / 0.5342 GB, free: 12.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/0.3181, allocations: 4.924 MB / 0.539 GB, free: 7.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.3182, allocations: 68.73 kB / 0.5391 GB, free: 7.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.3199, allocations: 5.542 MB / 0.5445 GB, free: 1.832 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/0.3205, allocations: 1.311 MB / 0.5458 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/0.3223, allocations: 2.098 MB / 0.5478 GB, free: 14.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.3226, allocations: 480.8 kB / 0.5483 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.3243, allocations: 0.9981 MB / 0.5492 GB, free: 12.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005491/0.3298, allocations: 9.065 MB / 0.5581 GB, free: 320 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009056/0.3388, allocations: 11.12 MB / 0.5689 GB, free: 1.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/0.339, allocations: 55.75 kB / 0.569 GB, free: 1.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01029/0.3493, allocations: 7.745 MB / 0.5766 GB, free: 9.809 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/0.3493, allocations: 90.34 kB / 0.5767 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/0.3495, allocations: 190.1 kB / 0.5768 GB, free: 9.539 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.3497, allocations: 252.8 kB / 0.5771 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/0.3536, allocations: 2.07 MB / 0.5791 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002226/0.3538, allocations: 386.5 kB / 0.5795 GB, free: 6.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/0.357, allocations: 1.279 MB / 0.5807 GB, free: 5.562 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004985/0.3575, allocations: 0.5571 MB / 0.5813 GB, free: 5.008 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00179/0.3593, allocations: 0.883 MB / 0.5821 GB, free: 4.113 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/0.3597, allocations: 0.5171 MB / 0.5826 GB, free: 3.598 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.3603, allocations: 0.5105 MB / 0.5831 GB, free: 3.082 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.819e-05/0.3603, allocations: 52 kB / 0.5832 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.3603, allocations: 3.984 kB / 0.5832 GB, free: 3.027 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.3603, allocations: 7.969 kB / 0.5832 GB, free: 3.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.3709, allocations: 8.634 MB / 0.5916 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.3709, allocations: 16 kB / 0.5916 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/0.3719, allocations: 423.4 kB / 0.592 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/0.3719, allocations: 24 kB / 0.5921 GB, free: 9.645 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.372, allocations: 67.03 kB / 0.5921 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/0.3721, allocations: 30.86 kB / 0.5921 GB, free: 9.555 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/0.3721, allocations: 23.88 kB / 0.5922 GB, free: 9.531 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.3749, allocations: 2.66 MB / 0.5948 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.3753, allocations: 465.8 kB / 0.5952 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.3756, allocations: 59.11 kB / 0.5953 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007448/0.3764, allocations: 119.9 kB / 0.5954 GB, free: 5.941 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.3766, allocations: 188.2 kB / 0.5956 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.3767, allocations: 100 kB / 0.5957 GB, free: 5.664 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002015/0.3787, allocations: 1.973 MB / 0.5976 GB, free: 3.695 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3787, allocations: 0 / 0.5976 GB, free: 3.695 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004828/0.3835, allocations: 2.034 MB / 0.5996 GB, free: 1.668 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003818/0.3839, allocations: 200.8 kB / 0.5998 GB, free: 1.461 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005144/0.3891, allocations: 4.22 MB / 0.6039 GB, free: 13.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3891, allocations: 0.5 kB / 0.6039 GB, free: 13.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009975/0.3901, allocations: 0.8863 MB / 0.6048 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.3914, allocations: 446.3 kB / 0.6052 GB, free: 11.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1422/0.5336, allocations: 13.04 MB / 0.6179 GB, free: 154.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.5357, allocations: 2.168 MB / 0.62 GB, free: 154.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003968/0.5397, allocations: 2.908 MB / 0.6229 GB, free: 154.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/0.5403, allocations: 341.4 kB / 0.6232 GB, free: 154.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.903e-06/0.5403, allocations: 6.875 kB / 0.6232 GB, free: 154.5 MB / 490.7 MB Notification: Performance of Templates: time 0.0501/0.5904, allocations: 29.05 MB / 0.6516 GB, free: 148.1 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.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.95443932688795]