Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.001966/0.001966, allocations: 117.1 kB / 19.12 MB, free: 3.945 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.002657/0.002658, allocations: 214.6 kB / 22.08 MB, free: 0.9922 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.477/1.477, allocations: 227.5 MB / 252.3 MB, free: 72 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.2333/0.2333, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002313, allocations: 81.06 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1214, allocations: 62.45 MB / 0.5404 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01524/0.1367, allocations: 12.28 MB / 0.5523 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008868/0.1457, allocations: 3.933 MB / 0.5562 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.1478, allocations: 59.88 kB / 0.5562 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002998/0.1509, allocations: 1.315 MB / 0.5575 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004422/0.1553, allocations: 1.724 MB / 0.5592 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.1567, allocations: 491 kB / 0.5597 GB, free: 356 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005295/0.162, allocations: 3.613 MB / 0.5632 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/0.1651, allocations: 2.013 MB / 0.5652 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.1673, allocations: 1.191 MB / 0.5663 GB, free: 9.488 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.1701, allocations: 1.709 MB / 0.568 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006825/0.1708, allocations: 236 kB / 0.5682 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.173, allocations: 0.9361 MB / 0.5691 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.1749, allocations: 1.57 MB / 0.5707 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.1774, allocations: 1.882 MB / 0.5725 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008288/0.1857, allocations: 6.196 MB / 0.5786 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1858, allocations: 0 / 0.5786 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1858, allocations: 0 / 0.5786 GB, free: 12.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002122/0.186, allocations: 4 kB / 0.5786 GB, free: 12.91 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.00923/0.1952, allocations: 4.242 MB / 0.5827 GB, free: 8.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1953, allocations: 8.031 kB / 0.5827 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.2065, allocations: 3.102 MB / 0.5858 GB, free: 5.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/0.2108, allocations: 1.877 MB / 0.5876 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.2111, allocations: 189 kB / 0.5878 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009678/0.2121, allocations: 247.9 kB / 0.588 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.2305, allocations: 10.48 MB / 0.5982 GB, free: 8.203 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.141e-05/0.2307, allocations: 27.77 kB / 0.5983 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004179/0.2311, allocations: 115.8 kB / 0.5984 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004839/0.236, allocations: 2.557 MB / 0.6009 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2639/0.4998, allocations: 9.917 MB / 0.6106 GB, free: 52.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04522/0.5451, allocations: 34.34 MB / 0.6441 GB, free: 31.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00832/0.5535, allocations: 5.168 MB / 0.6491 GB, free: 28.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/0.5562, allocations: 2.301 MB / 0.6514 GB, free: 27.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.5574, allocations: 1.887 MB / 0.6532 GB, free: 25.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.5574, allocations: 51.09 kB / 0.6533 GB, free: 25.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=229): time 5.139e-06/0.5574, allocations: 0 / 0.6533 GB, free: 25.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=235): time 0.02853/0.586, allocations: 14.05 MB / 0.667 GB, free: 11.87 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.5861, allocations: 69.41 kB / 0.6671 GB, free: 11.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.5893, allocations: 2.636 MB / 0.6696 GB, free: 9.191 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.5895, allocations: 64.91 kB / 0.6697 GB, free: 9.125 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.5907, allocations: 2.738 MB / 0.6724 GB, free: 6.438 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006903/0.5914, allocations: 0.8866 MB / 0.6732 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.5929, allocations: 1.048 MB / 0.6743 GB, free: 4.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.593, allocations: 313.1 kB / 0.6746 GB, free: 4.199 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.5956, allocations: 2.2 MB / 0.6767 GB, free: 1.992 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005501/0.6011, allocations: 5.071 MB / 0.6817 GB, free: 11.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.6121, allocations: 7.973 MB / 0.6894 GB, free: 2.137 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-05/0.6122, allocations: 28 kB / 0.6895 GB, free: 2.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01634/0.6285, allocations: 7.897 MB / 0.6972 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.6287, allocations: 46.34 kB / 0.6972 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001725/0.6289, allocations: 104.2 kB / 0.6973 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/0.6314, allocations: 0.7921 MB / 0.6981 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/0.6357, allocations: 1.185 MB / 0.6993 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/0.6424, allocations: 4.528 MB / 0.7037 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/0.646, allocations: 291.8 kB / 0.704 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000955/0.6469, allocations: 300.3 kB / 0.7042 GB, free: 2.844 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (635): * Single equations (assignments): 628 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004231/0.6512, allocations: 2.019 MB / 0.7062 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007129/0.6519, allocations: 274.2 kB / 0.7065 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009735/0.6617, allocations: 4.729 MB / 0.7111 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.17e-05/0.6618, allocations: 43.98 kB / 0.7111 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.6618, allocations: 4 kB / 0.7111 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-05/0.6618, allocations: 7.969 kB / 0.7112 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/0.6831, allocations: 10.51 MB / 0.7214 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/0.6832, allocations: 8.125 kB / 0.7214 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.6849, allocations: 363.4 kB / 0.7218 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.6871, allocations: 0.6522 MB / 0.7224 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003243/0.6875, allocations: 39.83 kB / 0.7224 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005791/0.6933, allocations: 3.909 MB / 0.7263 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.6933, allocations: 11.94 kB / 0.7263 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/0.7049, allocations: 7.153 MB / 0.7333 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006866/0.7056, allocations: 319.2 kB / 0.7336 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/0.706, allocations: 48.3 kB / 0.7336 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.7072, allocations: 139.9 kB / 0.7337 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000345/0.7076, allocations: 133 kB / 0.7339 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/0.7078, allocations: 67.98 kB / 0.7339 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002588/0.7104, allocations: 1.623 MB / 0.7355 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7104, allocations: 0 / 0.7355 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003999/0.7144, allocations: 0.9099 MB / 0.7364 GB, free: 1.484 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005253/0.7149, allocations: 175.1 kB / 0.7366 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008828/0.7238, allocations: 5.388 MB / 0.7418 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.7238, allocations: 0 / 0.7418 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003258/0.7271, allocations: 2.034 MB / 0.7438 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.7293, allocations: 369.7 kB / 0.7442 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.7462, allocations: 9.878 MB / 0.7538 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003856/0.7501, allocations: 3.167 MB / 0.7569 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.7512, allocations: 255.3 kB / 0.7572 GB, free: 12.07 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.7513, allocations: 0 / 0.7572 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Templates: time 0.1032/0.8544, allocations: 70.59 MB / 0.8261 GB, free: 5.551 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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: 12.8425592049025]