Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.00141/0.00141, allocations: 119.5 kB / 18.45 MB, free: 4.613 MB / 14.72 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.001476/0.001476, allocations: 201.8 kB / 21.4 MB, free: 1.668 MB / 14.72 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.506/1.506, allocations: 227.4 MB / 251.6 MB, free: 84 kB / 190.1 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.2342/0.2342, allocations: 46.18 MB / 351.1 MB, free: 14.27 MB / 286.1 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.JointUPS2,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.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 85.48 kB / 490.2 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1478, allocations: 62.45 MB / 0.5397 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01556/0.1634, allocations: 11.96 MB / 0.5514 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.1739, allocations: 4.381 MB / 0.5556 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.1766, allocations: 75.75 kB / 0.5557 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006176/0.1827, allocations: 2.752 MB / 0.5584 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006762/0.1896, allocations: 1.99 MB / 0.5603 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.1924, allocations: 1.002 MB / 0.5613 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008805/0.2012, allocations: 5.368 MB / 0.5666 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005715/0.2069, allocations: 3.436 MB / 0.5699 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/0.2107, allocations: 1.74 MB / 0.5716 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/0.2153, allocations: 2.446 MB / 0.574 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.2169, allocations: 368 kB / 0.5744 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.221, allocations: 1.4 MB / 0.5757 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004429/0.2255, allocations: 2.174 MB / 0.5778 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004954/0.2304, allocations: 2.478 MB / 0.5803 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.2423, allocations: 8.05 MB / 0.5881 GB, free: 2.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.2424, allocations: 0 / 0.5881 GB, free: 2.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2424, allocations: 0 / 0.5881 GB, free: 2.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002675/0.2426, allocations: 0 / 0.5881 GB, free: 2.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01531/0.258, allocations: 5.867 MB / 0.5939 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.258, allocations: 8.031 kB / 0.5939 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/0.2753, allocations: 2.623 MB / 0.5964 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007379/0.2827, allocations: 3.167 MB / 0.5995 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.283, allocations: 262.8 kB / 0.5998 GB, free: 6.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.284, allocations: 346.5 kB / 0.6001 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3336/0.6176, allocations: 12.36 MB / 0.6122 GB, free: 51.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/0.6178, allocations: 48.72 kB / 0.6122 GB, free: 51.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005065/0.6184, allocations: 165.8 kB / 0.6124 GB, free: 51.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004467/0.6228, allocations: 2.378 MB / 0.6147 GB, free: 51.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0246/0.6474, allocations: 10.84 MB / 0.6253 GB, free: 47.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.051/0.6985, allocations: 48.69 MB / 0.6728 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/0.7124, allocations: 6.032 MB / 0.6787 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004658/0.7171, allocations: 3.308 MB / 0.682 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02231/0.7395, allocations: 13.53 MB / 0.6952 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.357e-05/0.7396, allocations: 51.88 kB / 0.6952 GB, free: 13.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 9.097e-06/0.7396, allocations: 3.938 kB / 0.6952 GB, free: 13.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.1145/0.8541, allocations: 36.55 MB / 0.7309 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.8543, allocations: 205.9 kB / 0.7311 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007238/0.8616, allocations: 4.374 MB / 0.7354 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008303/0.8624, allocations: 65.7 kB / 0.7355 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003475/0.8659, allocations: 3.512 MB / 0.7389 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001927/0.8679, allocations: 1.031 MB / 0.7399 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002571/0.8705, allocations: 1.425 MB / 0.7413 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8706, allocations: 301.1 kB / 0.7416 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005894/0.8765, allocations: 3.289 MB / 0.7448 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/0.8868, allocations: 7.2 MB / 0.7518 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/0.9047, allocations: 11.23 MB / 0.7628 GB, free: 4.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/0.9049, allocations: 40 kB / 0.7628 GB, free: 4.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03217/0.937, allocations: 13.3 MB / 0.7758 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.9372, allocations: 64 kB / 0.7759 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/0.9374, allocations: 140 kB / 0.776 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01103/0.9485, allocations: 3.402 MB / 0.7793 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006263/0.9548, allocations: 1.575 MB / 0.7809 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03101/0.9858, allocations: 17.57 MB / 0.798 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006764/0.9927, allocations: 431.5 kB / 0.7984 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/0.9945, allocations: 412 kB / 0.7988 GB, free: 15.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * Array equations: 3 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006848/1.001, allocations: 2.341 MB / 0.8011 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001731/1.003, allocations: 437 kB / 0.8015 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01955/1.023, allocations: 7.998 MB / 0.8093 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.636e-05/1.023, allocations: 28 kB / 0.8094 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.016e-05/1.023, allocations: 12 kB / 0.8094 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.003e-05/1.023, allocations: 15.89 kB / 0.8094 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03698/1.06, allocations: 15.38 MB / 0.8244 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/1.06, allocations: 0 / 0.8244 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.063, allocations: 383.9 kB / 0.8248 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01036/1.073, allocations: 3.165 MB / 0.8279 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007994/1.074, allocations: 51.91 kB / 0.8279 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02847/1.102, allocations: 15.81 MB / 0.8434 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.102, allocations: 4 kB / 0.8434 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3869/1.489, allocations: 12.17 MB / 0.8552 GB, free: 207.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.491, allocations: 467.9 kB / 0.8557 GB, free: 207.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008241/1.491, allocations: 43.78 kB / 0.8557 GB, free: 207.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.494, allocations: 190.5 kB / 0.8559 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006746/1.494, allocations: 153.7 kB / 0.8561 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.495, allocations: 66.28 kB / 0.8561 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005132/1.5, allocations: 2.736 MB / 0.8588 GB, free: 206.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/1.5, allocations: 0 / 0.8588 GB, free: 206.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007616/1.507, allocations: 1.349 MB / 0.8601 GB, free: 206.4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (197): * Single equations (assignments): 193 * Array equations: 3 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006612/1.508, allocations: 181.6 kB / 0.8603 GB, free: 206.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.521, allocations: 8.214 MB / 0.8683 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.521, allocations: 0 / 0.8683 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004512/1.526, allocations: 3.322 MB / 0.8715 GB, free: 202.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/1.529, allocations: 0.4991 MB / 0.872 GB, free: 201.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/1.546, allocations: 12.03 MB / 0.8838 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003218/1.549, allocations: 3.67 MB / 0.8874 GB, free: 195.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004079/1.554, allocations: 2.177 MB / 0.8895 GB, free: 194.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008607/1.554, allocations: 287.6 kB / 0.8898 GB, free: 194 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/1.554, allocations: 7.938 kB / 0.8898 GB, free: 194 MB / 0.6231 GB Notification: Performance of Templates: time 0.07977/1.634, allocations: 56.95 MB / 0.9454 GB, free: 138.7 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.006261627189815]