Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.000848/0.000848, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003947/0.003947, allocations: 160.1 kB / 24.7 MB, free: 9.418 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.8739/0.8739, allocations: 177 MB / 204.9 MB, free: 5.715 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.2365/0.2365, allocations: 34.25 MB / 295.6 MB, free: 0.668 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.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 443.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.092e-05, allocations: 9.094 kB / 443.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1736/0.1736, allocations: 11.73 MB / 455.2 MB, free: 37.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005426/0.179, allocations: 4.025 MB / 459.2 MB, free: 34.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000833/0.1799, allocations: 79.59 kB / 459.3 MB, free: 34.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.1816, allocations: 2.019 MB / 461.3 MB, free: 34.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.1837, allocations: 2 MB / 463.3 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.1844, allocations: 0.5926 MB / 463.9 MB, free: 32.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.1866, allocations: 4.422 MB / 468.3 MB, free: 31.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.1883, allocations: 2.675 MB / 471 MB, free: 30.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.1898, allocations: 2.231 MB / 473.2 MB, free: 29.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.1914, allocations: 2.197 MB / 475.4 MB, free: 28.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003463/0.1918, allocations: 310.6 kB / 475.7 MB, free: 28.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009768/0.1927, allocations: 0.975 MB / 476.7 MB, free: 28.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000848/0.1936, allocations: 1.968 MB / 478.7 MB, free: 27.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007219/0.1943, allocations: 1.21 MB / 479.9 MB, free: 26.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005339/0.1996, allocations: 7.272 MB / 487.1 MB, free: 24.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1996, allocations: 4 kB / 487.1 MB, free: 24.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1996, allocations: 5 kB / 487.1 MB, free: 24.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001013/0.1997, allocations: 0 / 487.1 MB, free: 24.38 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.00843/0.2082, allocations: 4.929 MB / 492.1 MB, free: 21.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.2082, allocations: 8.875 kB / 492.1 MB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009455/0.2177, allocations: 3.214 MB / 495.3 MB, free: 21.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.2209, allocations: 2.14 MB / 497.4 MB, free: 19.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.221, allocations: 237.5 kB / 497.7 MB, free: 19.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004578/0.2215, allocations: 306.5 kB / 498 MB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.2336, allocations: 12.09 MB / 0.4981 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.608e-05/0.2337, allocations: 27.75 kB / 0.4981 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003069/0.234, allocations: 151.7 kB / 0.4983 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/0.2364, allocations: 2.838 MB / 0.5011 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.2475, allocations: 11.32 MB / 0.5121 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/0.2805, allocations: 38.11 MB / 0.5493 GB, free: 7.777 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006292/0.2868, allocations: 5.017 MB / 0.5542 GB, free: 2.754 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/0.2893, allocations: 2.772 MB / 0.5569 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/0.29, allocations: 0.548 MB / 0.5575 GB, free: 15.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.29, allocations: 64.5 kB / 0.5575 GB, free: 15.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 4.478e-06/0.29, allocations: 0 / 0.5575 GB, free: 15.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.03085/0.3208, allocations: 20.5 MB / 0.5775 GB, free: 10.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3209, allocations: 77.41 kB / 0.5776 GB, free: 10.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.324, allocations: 3 MB / 0.5805 GB, free: 7.637 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.3242, allocations: 61.7 kB / 0.5806 GB, free: 7.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.3255, allocations: 3.115 MB / 0.5836 GB, free: 4.426 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009283/0.3264, allocations: 1.042 MB / 0.5847 GB, free: 3.375 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.3277, allocations: 1.192 MB / 0.5858 GB, free: 2.172 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.3277, allocations: 305.1 kB / 0.5861 GB, free: 1.871 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003149/0.3309, allocations: 2.854 MB / 0.5889 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004541/0.3354, allocations: 6.026 MB / 0.5948 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008183/0.3436, allocations: 9.673 MB / 0.6042 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.343e-05/0.3437, allocations: 28 kB / 0.6043 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01073/0.3544, allocations: 10.03 MB / 0.6141 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.3544, allocations: 56 kB / 0.6141 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-05/0.3545, allocations: 108 kB / 0.6142 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/0.3565, allocations: 1.361 MB / 0.6155 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.3591, allocations: 1.369 MB / 0.6169 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006751/0.3658, allocations: 7.608 MB / 0.6243 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.3681, allocations: 395.6 kB / 0.6247 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/0.3684, allocations: 348 kB / 0.625 GB, free: 6.809 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 715 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003015/0.3715, allocations: 2.304 MB / 0.6273 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.3718, allocations: 294 kB / 0.6276 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1948/0.5666, allocations: 6.599 MB / 0.634 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/0.5667, allocations: 52.33 kB / 0.634 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5667, allocations: 7.969 kB / 0.6341 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.5667, allocations: 13.5 kB / 0.6341 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.5793, allocations: 12.31 MB / 0.6461 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.5793, allocations: 6.594 kB / 0.6461 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.5803, allocations: 457.2 kB / 0.6465 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.582, allocations: 1.213 MB / 0.6477 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.5821, allocations: 50.81 kB / 0.6478 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/0.5871, allocations: 6.821 MB / 0.6544 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.5871, allocations: 15.98 kB / 0.6544 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009092/0.5961, allocations: 9.816 MB / 0.664 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.5968, allocations: 278.5 kB / 0.6643 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.597, allocations: 52.38 kB / 0.6643 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009449/0.598, allocations: 222.8 kB / 0.6646 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.5983, allocations: 173.9 kB / 0.6647 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.5984, allocations: 76.16 kB / 0.6648 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002112/0.6006, allocations: 1.724 MB / 0.6665 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6006, allocations: 0 / 0.6665 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00377/0.6043, allocations: 1.16 MB / 0.6676 GB, free: 139.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004771/0.6048, allocations: 206.3 kB / 0.6678 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008711/0.6135, allocations: 6.696 MB / 0.6743 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.6135, allocations: 0 / 0.6743 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003003/0.6165, allocations: 2.662 MB / 0.6769 GB, free: 136 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.6181, allocations: 321.9 kB / 0.6773 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.6317, allocations: 11.99 MB / 0.689 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/0.6341, allocations: 3.045 MB / 0.6919 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.6351, allocations: 287.1 kB / 0.6922 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/0.6351, allocations: 0 / 0.6922 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.06716/0.7023, allocations: 84.81 MB / 0.775 GB, free: 45.21 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.348902217112482]