Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001412/0.001412, allocations: 101.9 kB / 16.27 MB, free: 5.93 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.001884/0.001884, allocations: 192.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2552/0.2552, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 61.84 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1603, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01339/0.1738, allocations: 10.21 MB / 450.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.1855, allocations: 3.917 MB / 454.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/0.1893, allocations: 55.88 kB / 454.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00592/0.1953, allocations: 2.328 MB / 457 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006957/0.2023, allocations: 1.727 MB / 458.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.205, allocations: 0.7057 MB / 459.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007798/0.2128, allocations: 3.809 MB / 463.3 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00565/0.2185, allocations: 2.981 MB / 466.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.2223, allocations: 1.363 MB / 467.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004586/0.2269, allocations: 1.865 MB / 469.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.2284, allocations: 308 kB / 469.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.232, allocations: 1.178 MB / 471 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003242/0.2353, allocations: 1.71 MB / 472.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004806/0.2401, allocations: 2.023 MB / 474.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.2508, allocations: 6.523 MB / 481.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.2508, allocations: 4 kB / 481.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2508, allocations: 0 / 481.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003796/0.2512, allocations: 0 / 481.2 MB, free: 14.01 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.0152/0.2664, allocations: 4.426 MB / 485.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.2665, allocations: 11.89 kB / 485.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009259/0.2758, allocations: 2.059 MB / 487.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008287/0.2841, allocations: 2.448 MB / 490.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.2844, allocations: 213.6 kB / 490.4 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.2856, allocations: 283.9 kB / 490.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02351/0.3091, allocations: 9.287 MB / 499.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000317/0.3095, allocations: 39.64 kB / 500 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001379/0.3109, allocations: 139.9 kB / 0.4884 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004174/0.3151, allocations: 1.911 MB / 0.4903 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.3339, allocations: 8.168 MB / 0.4982 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3765/0.7105, allocations: 36.4 MB / 0.5338 GB, free: 63.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008452/0.719, allocations: 3.68 MB / 0.5374 GB, free: 62.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.7221, allocations: 2.074 MB / 0.5394 GB, free: 62.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004123/0.7225, allocations: 337.7 kB / 0.5397 GB, free: 62.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.7226, allocations: 51.88 kB / 0.5398 GB, free: 62.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 6.552e-06/0.7226, allocations: 0 / 0.5398 GB, free: 62.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=177): time 0.03878/0.7614, allocations: 16.21 MB / 0.5556 GB, free: 58.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.7615, allocations: 184.5 kB / 0.5558 GB, free: 57.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00461/0.7661, allocations: 3.642 MB / 0.5593 GB, free: 56.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003537/0.7665, allocations: 56.12 kB / 0.5594 GB, free: 56.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.768, allocations: 2.803 MB / 0.5621 GB, free: 53.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007871/0.7688, allocations: 0.6732 MB / 0.5628 GB, free: 53.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.7702, allocations: 1.155 MB / 0.5639 GB, free: 52.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.7703, allocations: 315.8 kB / 0.5642 GB, free: 52.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002885/0.7732, allocations: 2.288 MB / 0.5664 GB, free: 50.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004329/0.7775, allocations: 5.639 MB / 0.572 GB, free: 43.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.7884, allocations: 8.553 MB / 0.5803 GB, free: 33.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/0.7886, allocations: 32 kB / 0.5803 GB, free: 33.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01537/0.804, allocations: 8.768 MB / 0.5889 GB, free: 24.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.8042, allocations: 59.94 kB / 0.589 GB, free: 24.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003218/0.8046, allocations: 117.5 kB / 0.5891 GB, free: 24.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.8076, allocations: 1.227 MB / 0.5903 GB, free: 23.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00422/0.8118, allocations: 1.294 MB / 0.5915 GB, free: 21.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008836/0.8207, allocations: 7.707 MB / 0.5991 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005883/0.8266, allocations: 327.4 kB / 0.5994 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/0.8281, allocations: 340 kB / 0.5997 GB, free: 13.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00479/0.8329, allocations: 1.973 MB / 0.6016 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.834, allocations: 319.8 kB / 0.6019 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007326/0.8413, allocations: 3.932 MB / 0.6058 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/0.8414, allocations: 23.83 kB / 0.6058 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.8414, allocations: 12.69 kB / 0.6058 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/0.8414, allocations: 7.969 kB / 0.6058 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/0.861, allocations: 9.04 MB / 0.6146 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/0.8611, allocations: 0 / 0.6146 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.8627, allocations: 271.6 kB / 0.6149 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003043/0.8658, allocations: 1.058 MB / 0.6159 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002996/0.8661, allocations: 35.5 kB / 0.616 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/0.877, allocations: 7.222 MB / 0.623 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.877, allocations: 288 / 0.623 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/0.8895, allocations: 6.84 MB / 0.6297 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002416/0.892, allocations: 0.6726 MB / 0.6303 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/0.8933, allocations: 31.94 kB / 0.6304 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/0.8957, allocations: 115.8 kB / 0.6305 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004883/0.8962, allocations: 100.8 kB / 0.6306 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/0.8965, allocations: 44 kB / 0.6306 GB, free: 13.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005504/0.902, allocations: 2.285 MB / 0.6329 GB, free: 11.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.902, allocations: 0 / 0.6329 GB, free: 11.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0074/0.9094, allocations: 0.9707 MB / 0.6338 GB, free: 10.26 MB / 446.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 (137): * Single equations (assignments): 133 * 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.0008462/0.9103, allocations: 158.7 kB / 0.634 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01281/0.9231, allocations: 6.499 MB / 0.6403 GB, free: 3.633 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.9232, allocations: 0 / 0.6403 GB, free: 3.633 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004066/0.9273, allocations: 2.044 MB / 0.6423 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/0.9316, allocations: 390.4 kB / 0.6427 GB, free: 1.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/0.9538, allocations: 9.037 MB / 0.6515 GB, free: 8.156 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006726/0.9605, allocations: 3.061 MB / 0.6545 GB, free: 5.078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006078/0.9667, allocations: 1.807 MB / 0.6563 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/0.968, allocations: 227.4 kB / 0.6565 GB, free: 3.051 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.968, allocations: 3.938 kB / 0.6565 GB, free: 3.047 MB / 462.1 MB Notification: Performance of Templates: time 0.08794/1.056, allocations: 38.75 MB / 0.6943 GB, free: 12.41 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches