Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 112.8 kB / 17.77 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 180.8 kB / 18.7 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1924/0.1924, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4466, allocations: 60.81 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0149/0.4615, allocations: 12.33 MB / 0.5309 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.4718, allocations: 3.925 MB / 0.5348 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.4743, allocations: 62.28 kB / 0.5348 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.4771, allocations: 1.314 MB / 0.5361 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00444/0.4816, allocations: 1.753 MB / 0.5378 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.4828, allocations: 491.5 kB / 0.5383 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005419/0.4883, allocations: 3.596 MB / 0.5418 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00291/0.4912, allocations: 2.004 MB / 0.5438 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/0.4937, allocations: 1.203 MB / 0.5449 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.4963, allocations: 1.713 MB / 0.5466 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006694/0.497, allocations: 236 kB / 0.5468 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.4993, allocations: 0.9672 MB / 0.5478 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.5012, allocations: 1.589 MB / 0.5493 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.5032, allocations: 1.89 MB / 0.5512 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007085/0.5103, allocations: 6.271 MB / 0.5573 GB, free: 4.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.5104, allocations: 4 kB / 0.5573 GB, free: 4.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5104, allocations: 3.938 kB / 0.5573 GB, free: 4.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001479/0.5105, allocations: 0 / 0.5573 GB, free: 4.574 MB / 414.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.008344/0.5189, allocations: 4.269 MB / 0.5615 GB, free: 236 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5189, allocations: 8.031 kB / 0.5615 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.5292, allocations: 3.097 MB / 0.5645 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004071/0.5333, allocations: 1.913 MB / 0.5664 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.5335, allocations: 189 kB / 0.5666 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005837/0.5341, allocations: 256.9 kB / 0.5668 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.5505, allocations: 10.48 MB / 0.577 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.212e-05/0.5506, allocations: 27.77 kB / 0.5771 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003349/0.5509, allocations: 123.8 kB / 0.5772 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004042/0.555, allocations: 2.557 MB / 0.5797 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0174/0.5724, allocations: 9.918 MB / 0.5894 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04543/0.6179, allocations: 34.33 MB / 0.6229 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008637/0.6266, allocations: 5.191 MB / 0.628 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002689/0.6293, allocations: 2.291 MB / 0.6302 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.6308, allocations: 1.884 MB / 0.632 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.6308, allocations: 52.56 kB / 0.6321 GB, free: 6.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 5.08e-06/0.6308, allocations: 0 / 0.6321 GB, free: 6.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.02936/0.6602, allocations: 14.05 MB / 0.6458 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.6603, allocations: 81.41 kB / 0.6459 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003458/0.6638, allocations: 2.644 MB / 0.6485 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.664, allocations: 57.7 kB / 0.6485 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/0.6657, allocations: 2.745 MB / 0.6512 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007678/0.6665, allocations: 0.8835 MB / 0.6521 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.6677, allocations: 1.049 MB / 0.6531 GB, free: 388 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.6678, allocations: 305.1 kB / 0.6534 GB, free: 80 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/0.6705, allocations: 2.208 MB / 0.6555 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004372/0.6749, allocations: 5.071 MB / 0.6605 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009404/0.6843, allocations: 7.973 MB / 0.6683 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.799e-05/0.6845, allocations: 35.98 kB / 0.6683 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01239/0.6969, allocations: 7.893 MB / 0.676 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.47e-05/0.697, allocations: 48 kB / 0.6761 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/0.6971, allocations: 100 kB / 0.6762 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.6993, allocations: 0.7969 MB / 0.6769 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/0.7027, allocations: 1.181 MB / 0.6781 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005236/0.7079, allocations: 4.523 MB / 0.6825 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/0.7108, allocations: 291.8 kB / 0.6828 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003731/0.7112, allocations: 304.1 kB / 0.6831 GB, free: 14.7 MB / 0.545 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.003505/0.7147, allocations: 2.028 MB / 0.6851 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005815/0.7153, allocations: 270.2 kB / 0.6853 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00755/0.7228, allocations: 4.729 MB / 0.6899 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-05/0.7229, allocations: 47.97 kB / 0.69 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.723, allocations: 8 kB / 0.69 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.723, allocations: 7.969 kB / 0.69 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.7392, allocations: 10.5 MB / 0.7002 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.7393, allocations: 8 kB / 0.7003 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.7407, allocations: 363.4 kB / 0.7006 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.7427, allocations: 0.6486 MB / 0.7012 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.7429, allocations: 43.98 kB / 0.7013 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004637/0.7475, allocations: 3.906 MB / 0.7051 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.7476, allocations: 11.94 kB / 0.7051 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009801/0.7574, allocations: 7.145 MB / 0.7121 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007589/0.7582, allocations: 331.4 kB / 0.7124 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/0.7585, allocations: 39.94 kB / 0.7124 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7596, allocations: 147.8 kB / 0.7126 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/0.7599, allocations: 137.1 kB / 0.7127 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.7601, allocations: 67.94 kB / 0.7128 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002095/0.7622, allocations: 1.623 MB / 0.7144 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7622, allocations: 0 / 0.7144 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003567/0.7658, allocations: 0.9218 MB / 0.7153 GB, free: 13.24 MB / 0.5762 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.0004254/0.7662, allocations: 186.7 kB / 0.7154 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007494/0.7737, allocations: 5.396 MB / 0.7207 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.7737, allocations: 128 / 0.7207 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00244/0.7762, allocations: 2.023 MB / 0.7227 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.778, allocations: 359.2 kB / 0.723 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3598/1.138, allocations: 9.442 MB / 0.7322 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003912/1.142, allocations: 3.162 MB / 0.7353 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004402/1.146, allocations: 1.964 MB / 0.7372 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007229/1.147, allocations: 205.8 kB / 0.7374 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/1.147, allocations: 0 / 0.7374 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.04859/1.196, allocations: 28.75 MB / 0.7655 GB, free: 151.7 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches