Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 115.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3414, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01991/0.3613, allocations: 18.15 MB / 0.5494 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.3749, allocations: 5.284 MB / 0.5546 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004759/0.3797, allocations: 111.7 kB / 0.5547 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006335/0.3861, allocations: 3.044 MB / 0.5576 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006866/0.393, allocations: 2.544 MB / 0.5601 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.3955, allocations: 1.022 MB / 0.5611 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01019/0.4057, allocations: 7.672 MB / 0.5686 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005967/0.4117, allocations: 4.168 MB / 0.5727 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003987/0.4157, allocations: 2.258 MB / 0.5749 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004855/0.4206, allocations: 3.232 MB / 0.578 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001551/0.4222, allocations: 452 kB / 0.5785 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/0.4255, allocations: 1.295 MB / 0.5797 GB, free: 340 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003917/0.4294, allocations: 2.805 MB / 0.5825 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005525/0.435, allocations: 3.184 MB / 0.5856 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.4466, allocations: 9.952 MB / 0.5953 GB, free: 340 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4466, allocations: 0 / 0.5953 GB, free: 340 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4466, allocations: 0 / 0.5953 GB, free: 340 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.4469, allocations: 0 / 0.5953 GB, free: 340 kB / 446.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.0171/0.4641, allocations: 7.204 MB / 0.6023 GB, free: 9.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4641, allocations: 8.031 kB / 0.6024 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.4789, allocations: 3.826 MB / 0.6061 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009379/0.4884, allocations: 4.018 MB / 0.61 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004293/0.4888, allocations: 324.4 kB / 0.6103 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002392/0.4912, allocations: 427.7 kB / 0.6107 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0296/0.5209, allocations: 15.59 MB / 0.626 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002788/0.5212, allocations: 59.48 kB / 0.626 GB, free: 0 / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/0.5226, allocations: 191.9 kB / 0.6262 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006166/0.5288, allocations: 3.388 MB / 0.6295 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0296/0.5584, allocations: 14.81 MB / 0.644 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08429/0.6427, allocations: 54.98 MB / 0.6977 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/0.6614, allocations: 8.205 MB / 0.7057 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006635/0.6681, allocations: 4.843 MB / 0.7104 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/0.6701, allocations: 2.215 MB / 0.7126 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/0.6702, allocations: 69.08 kB / 0.7126 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 7.855e-06/0.6702, allocations: 0 / 0.7126 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.3761/1.046, allocations: 40.15 MB / 0.7518 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/1.046, allocations: 116 kB / 0.7519 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004901/1.051, allocations: 4.284 MB / 0.7561 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000753/1.052, allocations: 85.7 kB / 0.7562 GB, free: 143 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001488/1.054, allocations: 3.793 MB / 0.7599 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.055, allocations: 1.493 MB / 0.7614 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001806/1.057, allocations: 1.568 MB / 0.7629 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.247e-05/1.057, allocations: 301.1 kB / 0.7632 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004363/1.061, allocations: 4.079 MB / 0.7672 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005575/1.067, allocations: 7.842 MB / 0.7748 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.078, allocations: 12.88 MB / 0.7874 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-05/1.078, allocations: 40 kB / 0.7874 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02242/1.101, allocations: 14.74 MB / 0.8018 GB, free: 92.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/1.101, allocations: 60 kB / 0.8019 GB, free: 92.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/1.101, allocations: 128 kB / 0.802 GB, free: 92.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007236/1.108, allocations: 2.928 MB / 0.8049 GB, free: 89.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/1.114, allocations: 1.805 MB / 0.8066 GB, free: 87.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/1.132, allocations: 15.96 MB / 0.8222 GB, free: 71.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/1.138, allocations: 0.499 MB / 0.8227 GB, free: 70.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002259/1.141, allocations: 427.9 kB / 0.8231 GB, free: 70.56 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.00549/1.146, allocations: 2.876 MB / 0.8259 GB, free: 67.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.147, allocations: 450.2 kB / 0.8264 GB, free: 67.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/1.165, allocations: 10.93 MB / 0.837 GB, free: 56.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-05/1.166, allocations: 19.92 kB / 0.8371 GB, free: 56.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.166, allocations: 0 / 0.8371 GB, free: 56.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009995/1.167, allocations: 483.2 kB / 0.8375 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.168, allocations: 64 kB / 0.8376 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.171, allocations: 307.5 kB / 0.8379 GB, free: 55.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008458/1.171, allocations: 262.1 kB / 0.8381 GB, free: 55.11 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0166/1.188, allocations: 9.729 MB / 0.8476 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01349/1.202, allocations: 12.62 MB / 0.8599 GB, free: 32.76 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003546/1.205, allocations: 3.604 MB / 0.8635 GB, free: 29.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003733/1.209, allocations: 2.672 MB / 0.8661 GB, free: 26.47 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/1.209, allocations: 4 kB / 0.8661 GB, free: 26.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.221, allocations: 7.067 MB / 0.873 GB, free: 19.43 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02352/1.244, allocations: 13.4 MB / 0.8861 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of Templates: time 0.4138/1.658, allocations: 84.94 MB / 0.969 GB, free: 210.3 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches