Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001181/0.001182, allocations: 187 kB / 19.34 MB, free: 3.641 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.363/1.363, allocations: 222.9 MB / 243 MB, free: 15.14 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.2033/0.2033, allocations: 44.19 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 66.25 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1462, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01073/0.1569, allocations: 9.56 MB / 480.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008056/0.165, allocations: 3.818 MB / 484.1 MB, free: 228 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.1667, allocations: 51.88 kB / 484.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004079/0.1709, allocations: 2.293 MB / 486.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004283/0.1752, allocations: 1.661 MB / 488.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.1769, allocations: 0.7096 MB / 488.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00676/0.1836, allocations: 3.81 MB / 492.6 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005369/0.1891, allocations: 2.906 MB / 495.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.1926, allocations: 1.308 MB / 496.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.1966, allocations: 1.744 MB / 498.6 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.1977, allocations: 288 kB / 498.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.2009, allocations: 1.166 MB / 0.4883 GB, free: 212 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00273/0.2037, allocations: 1.621 MB / 0.4899 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003475/0.2072, allocations: 1.907 MB / 0.4917 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.2178, allocations: 6.361 MB / 0.498 GB, free: 6.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.2178, allocations: 0 / 0.498 GB, free: 6.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2179, allocations: 3.938 kB / 0.498 GB, free: 6.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003191/0.2182, allocations: 0 / 0.498 GB, free: 6.277 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01647/0.2347, allocations: 4.218 MB / 0.5021 GB, free: 1.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2347, allocations: 8.031 kB / 0.5021 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3117/0.5464, allocations: 2.023 MB / 0.5041 GB, free: 46.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007154/0.5536, allocations: 2.377 MB / 0.5064 GB, free: 45.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.5539, allocations: 196.6 kB / 0.5066 GB, free: 45.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009065/0.5548, allocations: 262.2 kB / 0.5068 GB, free: 45.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.5712, allocations: 8.781 MB / 0.5154 GB, free: 41.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.5714, allocations: 38.05 kB / 0.5154 GB, free: 41.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.5718, allocations: 126.3 kB / 0.5156 GB, free: 41.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003611/0.5754, allocations: 1.804 MB / 0.5173 GB, free: 40.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.5904, allocations: 7.722 MB / 0.5249 GB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03487/0.6253, allocations: 34.58 MB / 0.5586 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005645/0.631, allocations: 3.081 MB / 0.5616 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.6333, allocations: 1.915 MB / 0.5635 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/0.6337, allocations: 331.9 kB / 0.5638 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.6338, allocations: 55.14 kB / 0.5639 GB, free: 13.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=135): time 3.867e-06/0.6338, allocations: 0 / 0.5639 GB, free: 13.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=156): time 0.03757/0.6714, allocations: 15.37 MB / 0.5789 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.6715, allocations: 175.2 kB / 0.5791 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/0.6767, allocations: 3.548 MB / 0.5825 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.677, allocations: 49.7 kB / 0.5826 GB, free: 9.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002011/0.679, allocations: 2.69 MB / 0.5852 GB, free: 7.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007647/0.6798, allocations: 0.6094 MB / 0.5858 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/0.6814, allocations: 1.111 MB / 0.5869 GB, free: 5.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6815, allocations: 301.1 kB / 0.5872 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/0.6844, allocations: 2.134 MB / 0.5892 GB, free: 3.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00525/0.6897, allocations: 5.39 MB / 0.5945 GB, free: 12.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009756/0.6995, allocations: 8.094 MB / 0.6024 GB, free: 2.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.6996, allocations: 32 kB / 0.6024 GB, free: 2.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01548/0.7151, allocations: 8.335 MB / 0.6106 GB, free: 9.961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.357e-05/0.7152, allocations: 52 kB / 0.6106 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.7153, allocations: 120 kB / 0.6107 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/0.7182, allocations: 1.227 MB / 0.6119 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003871/0.7221, allocations: 1.228 MB / 0.6131 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009687/0.7318, allocations: 7.606 MB / 0.6206 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/0.736, allocations: 315.4 kB / 0.6209 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006305/0.7367, allocations: 332 kB / 0.6212 GB, free: 14.95 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (655): * Single equations (assignments): 651 * Array equations: 3 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003034/0.7397, allocations: 1.874 MB / 0.623 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007096/0.7404, allocations: 312 kB / 0.6233 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006403/0.7468, allocations: 3.573 MB / 0.6268 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.183e-05/0.7469, allocations: 23.91 kB / 0.6268 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.7469, allocations: 4 kB / 0.6268 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.747, allocations: 11.91 kB / 0.6268 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.7615, allocations: 8.301 MB / 0.6349 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.7616, allocations: 7.938 kB / 0.635 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.7628, allocations: 231.6 kB / 0.6352 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/0.7656, allocations: 1.062 MB / 0.6362 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.7658, allocations: 27.98 kB / 0.6362 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009351/0.7752, allocations: 7.208 MB / 0.6433 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7752, allocations: 3.938 kB / 0.6433 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009459/0.7847, allocations: 6.263 MB / 0.6494 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.7859, allocations: 365 kB / 0.6497 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/0.7862, allocations: 27.94 kB / 0.6498 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.7875, allocations: 99.84 kB / 0.6499 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/0.7878, allocations: 92.88 kB / 0.65 GB, free: 1.199 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.788, allocations: 36 kB / 0.65 GB, free: 1.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003685/0.7917, allocations: 2.224 MB / 0.6522 GB, free: 14.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7917, allocations: 0 / 0.6522 GB, free: 14.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004457/0.7962, allocations: 0.9088 MB / 0.6531 GB, free: 14.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (115): * Single equations (assignments): 111 * Array equations: 3 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004569/0.7966, allocations: 160.4 kB / 0.6532 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007869/0.8045, allocations: 5.158 MB / 0.6582 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8046, allocations: 4.062 kB / 0.6582 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002861/0.8074, allocations: 1.866 MB / 0.6601 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.8099, allocations: 386.5 kB / 0.6604 GB, free: 6.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.8244, allocations: 8.401 MB / 0.6686 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003228/0.8277, allocations: 2.925 MB / 0.6715 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003821/0.8316, allocations: 1.722 MB / 0.6732 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000722/0.8323, allocations: 215.4 kB / 0.6734 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.8323, allocations: 4 kB / 0.6734 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of Templates: time 0.3458/1.178, allocations: 31.9 MB / 0.7045 GB, free: 169.3 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches