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.00137/0.00137, allocations: 73.25 kB / 21.24 MB, free: 0.5547 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.00146/0.00146, allocations: 159.4 kB / 24.5 MB, free: 3.719 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.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.2253/0.2253, allocations: 34.27 MB / 295.5 MB, free: 14.56 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.00211/0.00211, allocations: 71.88 kB / 443.2 MB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3357, allocations: 66.01 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01303/0.3487, allocations: 15.7 MB / 0.5126 GB, free: 19.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009676/0.3584, allocations: 5.095 MB / 0.5176 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/0.3616, allocations: 126.1 kB / 0.5177 GB, free: 16.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005987/0.3675, allocations: 2.987 MB / 0.5206 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006706/0.3742, allocations: 2.626 MB / 0.5232 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.3766, allocations: 1.027 MB / 0.5242 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.387, allocations: 7.668 MB / 0.5316 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005492/0.3925, allocations: 3.597 MB / 0.5352 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004745/0.3973, allocations: 2.291 MB / 0.5374 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005524/0.4028, allocations: 3.349 MB / 0.5407 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00148/0.4043, allocations: 451.8 kB / 0.5411 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.4077, allocations: 1.195 MB / 0.5423 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003333/0.411, allocations: 2.872 MB / 0.5451 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003552/0.4146, allocations: 2.365 MB / 0.5474 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.4274, allocations: 10.05 MB / 0.5572 GB, free: 8.156 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.4274, allocations: 0 / 0.5572 GB, free: 8.156 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.4274, allocations: 0 / 0.5572 GB, free: 8.156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002906/0.4277, allocations: 0 / 0.5572 GB, free: 8.156 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.0174/0.4451, allocations: 7.316 MB / 0.5643 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4451, allocations: 11.97 kB / 0.5643 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/0.4614, allocations: 3.99 MB / 0.5682 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.4722, allocations: 3.963 MB / 0.5721 GB, free: 8.742 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.4726, allocations: 320.4 kB / 0.5724 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/0.4746, allocations: 431.8 kB / 0.5728 GB, free: 8.004 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/0.5055, allocations: 15.68 MB / 0.5881 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/0.5057, allocations: 59.58 kB / 0.5882 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007531/0.5065, allocations: 195.8 kB / 0.5884 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007083/0.5135, allocations: 3.384 MB / 0.5917 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03504/0.5486, allocations: 14.77 MB / 0.6061 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09195/0.6405, allocations: 51.45 MB / 0.6564 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/0.6595, allocations: 7.172 MB / 0.6634 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00721/0.6667, allocations: 4.484 MB / 0.6677 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.6682, allocations: 0.6496 MB / 0.6684 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.06e-05/0.6683, allocations: 73.06 kB / 0.6685 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 7.504e-06/0.6683, allocations: 0 / 0.6685 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.371/1.039, allocations: 41 MB / 0.7085 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/1.039, allocations: 116.2 kB / 0.7086 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006667/1.046, allocations: 4.163 MB / 0.7127 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/1.047, allocations: 86.72 kB / 0.7128 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002544/1.05, allocations: 3.976 MB / 0.7166 GB, free: 137 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002287/1.052, allocations: 1.555 MB / 0.7182 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002607/1.055, allocations: 1.581 MB / 0.7197 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.521e-05/1.055, allocations: 302.4 kB / 0.72 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006537/1.061, allocations: 4.075 MB / 0.724 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009058/1.07, allocations: 7.873 MB / 0.7317 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/1.085, allocations: 12.88 MB / 0.7442 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002891/1.086, allocations: 34.44 kB / 0.7443 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02982/1.115, allocations: 14.7 MB / 0.7586 GB, free: 112.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002711/1.116, allocations: 60 kB / 0.7587 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002979/1.116, allocations: 132.1 kB / 0.7588 GB, free: 112 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007998/1.124, allocations: 2.914 MB / 0.7617 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006948/1.131, allocations: 1.812 MB / 0.7634 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/1.149, allocations: 15.56 MB / 0.7786 GB, free: 92.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006623/1.156, allocations: 0.4918 MB / 0.7791 GB, free: 92.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001646/1.157, allocations: 431.9 kB / 0.7795 GB, free: 91.74 MB / 0.5762 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.006718/1.164, allocations: 2.88 MB / 0.7823 GB, free: 88.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/1.166, allocations: 449 kB / 0.7827 GB, free: 88.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/1.184, allocations: 10.88 MB / 0.7934 GB, free: 77.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.207e-05/1.184, allocations: 67.73 kB / 0.7934 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/1.184, allocations: 8 kB / 0.7934 GB, free: 77.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.248e-05/1.184, allocations: 15.94 kB / 0.7935 GB, free: 77.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03403/1.218, allocations: 19.5 MB / 0.8125 GB, free: 57.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-05/1.218, allocations: 15.98 kB / 0.8125 GB, free: 57.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003385/1.221, allocations: 0.6819 MB / 0.8132 GB, free: 57.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007468/1.229, allocations: 2.727 MB / 0.8158 GB, free: 54.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008227/1.23, allocations: 75.98 kB / 0.8159 GB, free: 54.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/1.245, allocations: 14.17 MB / 0.8298 GB, free: 39.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/1.245, allocations: 19.92 kB / 0.8298 GB, free: 39.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/1.267, allocations: 15.52 MB / 0.8449 GB, free: 24.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.269, allocations: 417 kB / 0.8453 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.27, allocations: 71.98 kB / 0.8454 GB, free: 23.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.273, allocations: 319.5 kB / 0.8457 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006964/1.273, allocations: 273.8 kB / 0.846 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002811/1.274, allocations: 112 kB / 0.8461 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002668/1.276, allocations: 2.429 MB / 0.8484 GB, free: 20.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.276, allocations: 384 / 0.8484 GB, free: 20.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007077/1.283, allocations: 1.655 MB / 0.8501 GB, free: 18.79 MB / 0.5762 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.0006126/1.284, allocations: 236.7 kB / 0.8503 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.297, allocations: 9.648 MB / 0.8597 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.178e-05/1.297, allocations: 7.938 kB / 0.8597 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005164/1.302, allocations: 4.073 MB / 0.8637 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/1.306, allocations: 0.6011 MB / 0.8643 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/1.333, allocations: 16 MB / 0.8799 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00665/1.34, allocations: 4.036 MB / 0.8838 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006524/1.346, allocations: 2.678 MB / 0.8865 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.348, allocations: 328.4 kB / 0.8868 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.042e-06/1.348, allocations: 0 / 0.8868 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.3702/1.718, allocations: 63.85 MB / 0.9491 GB, free: 190.2 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 ida -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.391275853966363]