Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2337/0.2337, allocations: 46.96 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02034/0.3654, allocations: 15.71 MB / 0.5772 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.3768, allocations: 5.097 MB / 0.5821 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.3796, allocations: 131.4 kB / 0.5823 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006146/0.3858, allocations: 2.978 MB / 0.5852 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006987/0.3928, allocations: 2.642 MB / 0.5878 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.3952, allocations: 1.026 MB / 0.5888 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009893/0.4051, allocations: 7.664 MB / 0.5962 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004872/0.4099, allocations: 3.611 MB / 0.5998 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003734/0.4137, allocations: 2.289 MB / 0.602 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005444/0.4191, allocations: 3.528 MB / 0.6054 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.4204, allocations: 452 kB / 0.6059 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.4231, allocations: 1.206 MB / 0.6071 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003568/0.4267, allocations: 2.863 MB / 0.6099 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0049/0.4316, allocations: 2.372 MB / 0.6122 GB, free: 416 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02088/0.4525, allocations: 10.03 MB / 0.622 GB, free: 6.332 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4525, allocations: 0 / 0.622 GB, free: 6.332 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4525, allocations: 3.938 kB / 0.622 GB, free: 6.328 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005044/0.453, allocations: 8 kB / 0.622 GB, free: 6.32 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02885/0.4819, allocations: 7.306 MB / 0.6291 GB, free: 14.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.4819, allocations: 8.031 kB / 0.6291 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02395/0.5059, allocations: 3.881 MB / 0.6329 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/0.5184, allocations: 3.963 MB / 0.6368 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.5187, allocations: 316.4 kB / 0.6371 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002129/0.5208, allocations: 439.8 kB / 0.6375 GB, free: 6.289 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03115/0.552, allocations: 15.66 MB / 0.6528 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002019/0.5522, allocations: 59.59 kB / 0.6529 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006921/0.5529, allocations: 199.8 kB / 0.653 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006631/0.5595, allocations: 3.38 MB / 0.6563 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03231/0.5918, allocations: 14.76 MB / 0.6708 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09355/0.6854, allocations: 51.24 MB / 0.7208 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01869/0.7041, allocations: 6.943 MB / 0.7276 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007122/0.7112, allocations: 4.476 MB / 0.7319 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/0.7128, allocations: 0.6458 MB / 0.7326 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.494e-05/0.7129, allocations: 65.08 kB / 0.7326 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 8.966e-06/0.7129, allocations: 0 / 0.7326 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.39/1.103, allocations: 40.05 MB / 0.7717 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/1.103, allocations: 120 kB / 0.7719 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/1.107, allocations: 4.162 MB / 0.7759 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007982/1.108, allocations: 81.7 kB / 0.776 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/1.109, allocations: 3.962 MB / 0.7799 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/1.11, allocations: 1.562 MB / 0.7814 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001822/1.112, allocations: 1.58 MB / 0.7829 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.269e-05/1.112, allocations: 305.1 kB / 0.7832 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004321/1.117, allocations: 4.076 MB / 0.7872 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005361/1.122, allocations: 7.87 MB / 0.7949 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.134, allocations: 12.88 MB / 0.8075 GB, free: 92.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.19e-05/1.134, allocations: 41 kB / 0.8075 GB, free: 92.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.0233/1.157, allocations: 14.68 MB / 0.8219 GB, free: 78.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/1.157, allocations: 60 kB / 0.8219 GB, free: 77.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/1.157, allocations: 128 kB / 0.822 GB, free: 77.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007231/1.164, allocations: 2.928 MB / 0.8249 GB, free: 74.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006017/1.17, allocations: 1.801 MB / 0.8267 GB, free: 73.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/1.187, allocations: 15.56 MB / 0.8418 GB, free: 57.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006573/1.194, allocations: 0.4994 MB / 0.8423 GB, free: 56.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.195, allocations: 423.9 kB / 0.8427 GB, free: 56.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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 (942): * Single equations (assignments): 934 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004755/1.2, allocations: 2.874 MB / 0.8455 GB, free: 53.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008983/1.201, allocations: 449 kB / 0.846 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/1.216, allocations: 10.89 MB / 0.8566 GB, free: 42.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.381e-05/1.217, allocations: 63.98 kB / 0.8567 GB, free: 42.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/1.217, allocations: 11.94 kB / 0.8567 GB, free: 42.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.511e-05/1.217, allocations: 22.97 kB / 0.8567 GB, free: 42.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03035/1.247, allocations: 19.44 MB / 0.8757 GB, free: 22.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.247, allocations: 12.19 kB / 0.8757 GB, free: 22.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002836/1.25, allocations: 0.6865 MB / 0.8764 GB, free: 21.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007044/1.257, allocations: 2.736 MB / 0.879 GB, free: 19.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006178/1.257, allocations: 75.98 kB / 0.8791 GB, free: 18.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01534/1.273, allocations: 14.16 MB / 0.8929 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/1.273, allocations: 15.94 kB / 0.893 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02604/1.299, allocations: 15.51 MB / 0.9081 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.3, allocations: 416.9 kB / 0.9085 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.301, allocations: 72 kB / 0.9086 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/1.304, allocations: 319.5 kB / 0.9089 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007746/1.305, allocations: 273.8 kB / 0.9091 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003236/1.305, allocations: 111.5 kB / 0.9092 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003868/1.309, allocations: 2.433 MB / 0.9116 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.309, allocations: 0 / 0.9116 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007056/1.316, allocations: 1.648 MB / 0.9132 GB, free: 15.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006686/1.317, allocations: 234.2 kB / 0.9135 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01624/1.333, allocations: 9.662 MB / 0.9229 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/1.333, allocations: 4 kB / 0.9229 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007357/1.34, allocations: 4.066 MB / 0.9269 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004292/1.345, allocations: 0.6207 MB / 0.9275 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/1.372, allocations: 16.01 MB / 0.9431 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006016/1.378, allocations: 4.04 MB / 0.947 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006255/1.384, allocations: 2.682 MB / 0.9497 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.386, allocations: 327.4 kB / 0.95 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of SimCode: time 1.402e-06/1.386, allocations: 0 / 0.95 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of Templates: time 0.3653/1.751, allocations: 73.64 MB / 1.022 GB, free: 185.8 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.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.364028416006477]