Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001295/0.001295, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001408/0.001408, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.527/1.527, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2027/0.2027, allocations: 32.8 MB / 294.1 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 67.89 kB / 440.6 MB, free: 9.465 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3287, allocations: 65.44 MB / 0.4942 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01465/0.3434, allocations: 15.71 MB / 0.5095 GB, free: 21.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009722/0.3531, allocations: 5.094 MB / 0.5145 GB, free: 17.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/0.3556, allocations: 124.8 kB / 0.5146 GB, free: 17.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005122/0.3608, allocations: 2.99 MB / 0.5175 GB, free: 16.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006255/0.367, allocations: 2.635 MB / 0.5201 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.3693, allocations: 1.018 MB / 0.5211 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.3799, allocations: 7.669 MB / 0.5286 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005297/0.3852, allocations: 3.59 MB / 0.5321 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004818/0.3901, allocations: 2.299 MB / 0.5343 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006432/0.3965, allocations: 3.346 MB / 0.5376 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.3981, allocations: 452.4 kB / 0.538 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.4013, allocations: 1.2 MB / 0.5392 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003451/0.4048, allocations: 2.864 MB / 0.542 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004821/0.4096, allocations: 2.373 MB / 0.5443 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.4228, allocations: 10.04 MB / 0.5541 GB, free: 11.51 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4228, allocations: 4 kB / 0.5541 GB, free: 11.51 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4228, allocations: 0 / 0.5541 GB, free: 11.51 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003095/0.4231, allocations: 0 / 0.5541 GB, free: 11.51 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.01712/0.4403, allocations: 7.306 MB / 0.5613 GB, free: 4.129 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4403, allocations: 12.03 kB / 0.5613 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.4571, allocations: 3.99 MB / 0.5652 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.4675, allocations: 3.967 MB / 0.569 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/0.4678, allocations: 316.4 kB / 0.5693 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/0.4697, allocations: 439.8 kB / 0.5698 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03195/0.5017, allocations: 15.68 MB / 0.5851 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002313/0.5019, allocations: 55.59 kB / 0.5851 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007849/0.5027, allocations: 199.8 kB / 0.5853 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006744/0.5094, allocations: 3.376 MB / 0.5886 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/0.5415, allocations: 14.77 MB / 0.603 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09226/0.6338, allocations: 51.46 MB / 0.6533 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01913/0.6529, allocations: 7.172 MB / 0.6603 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007717/0.6606, allocations: 4.484 MB / 0.6647 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/0.6623, allocations: 0.6574 MB / 0.6653 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.82e-05/0.6624, allocations: 65.08 kB / 0.6654 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 6.863e-06/0.6624, allocations: 0 / 0.6654 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.3717/1.034, allocations: 41 MB / 0.7054 GB, free: 143.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/1.034, allocations: 123 kB / 0.7055 GB, free: 143.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006271/1.041, allocations: 4.153 MB / 0.7096 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001408/1.042, allocations: 86.86 kB / 0.7097 GB, free: 141.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003231/1.045, allocations: 3.963 MB / 0.7135 GB, free: 139.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002172/1.047, allocations: 1.565 MB / 0.7151 GB, free: 138 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002542/1.05, allocations: 1.581 MB / 0.7166 GB, free: 137.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.662e-05/1.05, allocations: 309.1 kB / 0.7169 GB, free: 137 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006542/1.056, allocations: 4.075 MB / 0.7209 GB, free: 135.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009059/1.066, allocations: 7.87 MB / 0.7286 GB, free: 129.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01635/1.082, allocations: 12.88 MB / 0.7412 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/1.082, allocations: 39.25 kB / 0.7412 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02799/1.11, allocations: 14.69 MB / 0.7555 GB, free: 116 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.11, allocations: 63.38 kB / 0.7556 GB, free: 116 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.11, allocations: 127.6 kB / 0.7557 GB, free: 116 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007859/1.118, allocations: 2.92 MB / 0.7586 GB, free: 115.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006444/1.125, allocations: 1.81 MB / 0.7603 GB, free: 113.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/1.142, allocations: 15.56 MB / 0.7755 GB, free: 98.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006463/1.148, allocations: 0.5031 MB / 0.776 GB, free: 98.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/1.149, allocations: 427.9 kB / 0.7764 GB, free: 97.85 MB / 0.5763 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.004294/1.154, allocations: 2.868 MB / 0.7792 GB, free: 94.97 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008528/1.155, allocations: 449 kB / 0.7797 GB, free: 94.53 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.171, allocations: 10.89 MB / 0.7903 GB, free: 83.58 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/1.171, allocations: 60 kB / 0.7903 GB, free: 83.52 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.171, allocations: 15.98 kB / 0.7904 GB, free: 83.51 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.521e-05/1.171, allocations: 15.94 kB / 0.7904 GB, free: 83.49 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03236/1.203, allocations: 19.5 MB / 0.8094 GB, free: 63.86 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/1.203, allocations: 12 kB / 0.8094 GB, free: 63.84 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003536/1.207, allocations: 0.6825 MB / 0.8101 GB, free: 63.16 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007225/1.214, allocations: 2.732 MB / 0.8128 GB, free: 60.43 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007264/1.215, allocations: 76 kB / 0.8128 GB, free: 60.35 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/1.23, allocations: 14.16 MB / 0.8267 GB, free: 45.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.23, allocations: 15.94 kB / 0.8267 GB, free: 45.97 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02213/1.252, allocations: 15.53 MB / 0.8418 GB, free: 30.17 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.254, allocations: 413 kB / 0.8422 GB, free: 29.76 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.255, allocations: 72 kB / 0.8423 GB, free: 29.69 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/1.257, allocations: 319.3 kB / 0.8426 GB, free: 29.38 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006945/1.258, allocations: 281.8 kB / 0.8429 GB, free: 29.11 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002908/1.258, allocations: 115.9 kB / 0.843 GB, free: 28.99 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002957/1.261, allocations: 2.429 MB / 0.8454 GB, free: 26.55 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.261, allocations: 0 / 0.8454 GB, free: 26.55 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007097/1.269, allocations: 1.652 MB / 0.847 GB, free: 24.9 MB / 0.5763 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.0007341/1.269, allocations: 231 kB / 0.8472 GB, free: 24.67 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.283, allocations: 9.652 MB / 0.8566 GB, free: 15 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/1.283, allocations: 4.188 kB / 0.8566 GB, free: 15 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005529/1.288, allocations: 4.069 MB / 0.8606 GB, free: 10.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.292, allocations: 0.6097 MB / 0.8612 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02537/1.317, allocations: 15.99 MB / 0.8768 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006999/1.324, allocations: 4.033 MB / 0.8808 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007128/1.331, allocations: 2.69 MB / 0.8834 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.333, allocations: 328.4 kB / 0.8837 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of SimCode: time 2.705e-06/1.333, allocations: 4 kB / 0.8837 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of Templates: time 0.3687/1.701, allocations: 63.86 MB / 0.9461 GB, free: 191.9 MB / 0.6388 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.493800934986211]