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.001445/0.001445, allocations: 110.7 kB / 18.45 MB, free: 4.617 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.001683/0.001683, allocations: 187.1 kB / 19.39 MB, free: 3.695 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.427/1.427, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.3082/0.3082, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 55.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3666, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01289/0.3795, allocations: 12.32 MB / 0.5316 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008656/0.3882, allocations: 3.934 MB / 0.5355 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.3899, allocations: 61.12 kB / 0.5355 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.3924, allocations: 1.307 MB / 0.5368 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003907/0.3963, allocations: 1.793 MB / 0.5385 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.3976, allocations: 495.9 kB / 0.539 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004779/0.4024, allocations: 3.599 MB / 0.5425 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002659/0.4051, allocations: 2.017 MB / 0.5445 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.4074, allocations: 1.203 MB / 0.5457 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/0.4099, allocations: 1.721 MB / 0.5474 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004977/0.4104, allocations: 236 kB / 0.5476 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.4123, allocations: 0.9556 MB / 0.5485 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.4139, allocations: 1.593 MB / 0.5501 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002013/0.4159, allocations: 1.898 MB / 0.5519 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006439/0.4223, allocations: 6.244 MB / 0.558 GB, free: 4.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.4224, allocations: 0 / 0.558 GB, free: 4.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4224, allocations: 0 / 0.558 GB, free: 4.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001421/0.4225, allocations: 4 kB / 0.558 GB, free: 4.562 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.008678/0.4312, allocations: 4.144 MB / 0.5621 GB, free: 360 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.4313, allocations: 16.02 kB / 0.5621 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.4423, allocations: 3.072 MB / 0.5651 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005335/0.4477, allocations: 1.904 MB / 0.5669 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.4479, allocations: 185 kB / 0.5671 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.4493, allocations: 255.8 kB / 0.5674 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.4679, allocations: 10.48 MB / 0.5776 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.468, allocations: 23.72 kB / 0.5776 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004939/0.4686, allocations: 135.7 kB / 0.5777 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004319/0.4729, allocations: 2.542 MB / 0.5802 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02043/0.4933, allocations: 9.923 MB / 0.5899 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05354/0.5469, allocations: 34.27 MB / 0.6234 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009931/0.5569, allocations: 5.175 MB / 0.6284 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/0.5602, allocations: 2.295 MB / 0.6307 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/0.562, allocations: 1.884 MB / 0.6325 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.562, allocations: 56.48 kB / 0.6326 GB, free: 6.238 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 5.891e-06/0.562, allocations: 3.938 kB / 0.6326 GB, free: 6.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03349/0.5955, allocations: 13.98 MB / 0.6462 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.5956, allocations: 77.34 kB / 0.6463 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004831/0.6005, allocations: 2.627 MB / 0.6489 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000319/0.6008, allocations: 61.69 kB / 0.6489 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.6029, allocations: 2.632 MB / 0.6515 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.6039, allocations: 0.8479 MB / 0.6523 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/0.6057, allocations: 1.036 MB / 0.6533 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6058, allocations: 305.1 kB / 0.6536 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/0.6091, allocations: 2.208 MB / 0.6558 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005986/0.6151, allocations: 5.079 MB / 0.6607 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.6261, allocations: 7.973 MB / 0.6685 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001786/0.6263, allocations: 28 kB / 0.6686 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01858/0.6449, allocations: 7.891 MB / 0.6763 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.6451, allocations: 48 kB / 0.6763 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/0.6453, allocations: 96 kB / 0.6764 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/0.6478, allocations: 0.797 MB / 0.6772 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/0.6523, allocations: 1.185 MB / 0.6783 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007267/0.6596, allocations: 4.511 MB / 0.6827 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/0.664, allocations: 295.7 kB / 0.683 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/0.6653, allocations: 299.9 kB / 0.6833 GB, free: 15.15 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.005116/0.6705, allocations: 2.02 MB / 0.6853 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000801/0.6713, allocations: 264.6 kB / 0.6855 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008963/0.6803, allocations: 4.725 MB / 0.6902 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/0.6803, allocations: 11.97 kB / 0.6902 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6803, allocations: 0 / 0.6902 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/0.6811, allocations: 301.6 kB / 0.6905 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000551/0.6816, allocations: 32 kB / 0.6905 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6829, allocations: 131.8 kB / 0.6906 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.6833, allocations: 121.8 kB / 0.6907 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007398/0.6907, allocations: 4.223 MB / 0.6948 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008083/0.6988, allocations: 6.274 MB / 0.701 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002304/0.7011, allocations: 1.733 MB / 0.7027 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003504/0.7046, allocations: 1.607 MB / 0.7042 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of Backend: time 1.293e-06/0.7047, allocations: 0 / 0.7042 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008156/0.7128, allocations: 3.998 MB / 0.7081 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01417/0.727, allocations: 8.279 MB / 0.7162 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of Templates: time 0.3279/1.055, allocations: 41.3 MB / 0.7566 GB, free: 176.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/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