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.001866/0.001866, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002603/0.002603, allocations: 205.7 kB / 23.72 MB, free: 4.391 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.563/1.563, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.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.2784/0.2784, allocations: 46.95 MB / 360.8 MB, free: 3.906 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.00253/0.00253, allocations: 80.11 kB / 0.4966 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3107, allocations: 66.09 MB / 0.5612 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01471/0.3255, allocations: 10.71 MB / 0.5716 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009151/0.3346, allocations: 3.754 MB / 0.5753 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.3361, allocations: 67.75 kB / 0.5754 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.339, allocations: 1.311 MB / 0.5767 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.3433, allocations: 1.775 MB / 0.5784 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3444, allocations: 491 kB / 0.5789 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004825/0.3492, allocations: 3.606 MB / 0.5824 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002872/0.3521, allocations: 1.823 MB / 0.5842 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.3539, allocations: 1.222 MB / 0.5854 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/0.3565, allocations: 1.81 MB / 0.5871 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004878/0.357, allocations: 240 kB / 0.5874 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.359, allocations: 0.8385 MB / 0.5882 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002232/0.3612, allocations: 1.612 MB / 0.5897 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.3639, allocations: 1.338 MB / 0.5911 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008897/0.3728, allocations: 6.231 MB / 0.5971 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3728, allocations: 0 / 0.5971 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3728, allocations: 0 / 0.5971 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001857/0.373, allocations: 0 / 0.5971 GB, free: 15.11 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.008437/0.3814, allocations: 4.17 MB / 0.6012 GB, free: 10.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3814, allocations: 8.031 kB / 0.6012 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.3924, allocations: 3.09 MB / 0.6042 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/0.3966, allocations: 1.831 MB / 0.606 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.3968, allocations: 189 kB / 0.6062 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006372/0.3974, allocations: 248 kB / 0.6064 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.4138, allocations: 10.48 MB / 0.6167 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.107e-05/0.4139, allocations: 27.77 kB / 0.6167 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003587/0.4142, allocations: 119.8 kB / 0.6168 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004504/0.4187, allocations: 2.549 MB / 0.6193 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01945/0.4382, allocations: 9.898 MB / 0.629 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05262/0.4908, allocations: 31.66 MB / 0.6599 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00989/0.5007, allocations: 4.042 MB / 0.6638 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.5041, allocations: 2.115 MB / 0.6659 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.5054, allocations: 0.5556 MB / 0.6664 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.5055, allocations: 52.56 kB / 0.6665 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.02e-06/0.5055, allocations: 0 / 0.6665 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03421/0.5397, allocations: 13.92 MB / 0.6801 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.5397, allocations: 69.41 kB / 0.6802 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004123/0.5439, allocations: 2.62 MB / 0.6827 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.5441, allocations: 57.7 kB / 0.6828 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002758/0.5469, allocations: 2.753 MB / 0.6855 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.548, allocations: 0.8991 MB / 0.6863 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/0.5497, allocations: 1.041 MB / 0.6873 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.5499, allocations: 357.9 kB / 0.6877 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003492/0.5534, allocations: 2.208 MB / 0.6898 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006035/0.5594, allocations: 5.067 MB / 0.6948 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.5704, allocations: 7.973 MB / 0.7026 GB, free: 14.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.818e-05/0.5705, allocations: 32 kB / 0.7026 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01513/0.5856, allocations: 7.881 MB / 0.7103 GB, free: 6.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.5857, allocations: 48.22 kB / 0.7104 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/0.5859, allocations: 104 kB / 0.7105 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/0.5885, allocations: 0.7772 MB / 0.7112 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004349/0.5929, allocations: 1.193 MB / 0.7124 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.5996, allocations: 4.36 MB / 0.7166 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/0.603, allocations: 291.8 kB / 0.7169 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007842/0.6038, allocations: 300 kB / 0.7172 GB, free: 15.73 MB / 0.5606 GB 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.003696/0.6075, allocations: 2.023 MB / 0.7192 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/0.608, allocations: 266.3 kB / 0.7194 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008614/0.6166, allocations: 4.703 MB / 0.724 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.224e-05/0.6167, allocations: 43.98 kB / 0.7241 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.6167, allocations: 4 kB / 0.7241 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.6167, allocations: 7.969 kB / 0.7241 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2501/0.8669, allocations: 9.193 MB / 0.7331 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/0.8669, allocations: 6.375 kB / 0.7331 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.8687, allocations: 368.6 kB / 0.7334 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.8709, allocations: 0.6517 MB / 0.734 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/0.8711, allocations: 43 kB / 0.7341 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/0.8749, allocations: 3.754 MB / 0.7378 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8749, allocations: 11.53 kB / 0.7378 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007672/0.8826, allocations: 7.127 MB / 0.7447 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/0.883, allocations: 226.9 kB / 0.7449 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.8833, allocations: 34.41 kB / 0.745 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.8844, allocations: 150.3 kB / 0.7451 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.8846, allocations: 143.1 kB / 0.7453 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.8847, allocations: 66.69 kB / 0.7453 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001504/0.8862, allocations: 1.472 MB / 0.7468 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8862, allocations: 0 / 0.7468 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002869/0.8891, allocations: 0.9098 MB / 0.7476 GB, free: 147.7 MB / 0.5606 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.0003285/0.8894, allocations: 173.5 kB / 0.7478 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005266/0.8947, allocations: 5.159 MB / 0.7528 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8947, allocations: 0 / 0.7528 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.8965, allocations: 1.873 MB / 0.7547 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.8978, allocations: 278 kB / 0.7549 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.908, allocations: 9.547 MB / 0.7643 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/0.9104, allocations: 2.616 MB / 0.7668 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003129/0.9135, allocations: 1.94 MB / 0.7687 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.9141, allocations: 187.4 kB / 0.7689 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.9141, allocations: 0 / 0.7689 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04273/0.9568, allocations: 27.73 MB / 0.796 GB, free: 102.1 MB / 0.5606 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.908165032044053]