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.001028/0.001028, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.452/1.452, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3686/0.3686, allocations: 43.55 MB / 314.5 MB, free: 8.812 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.0005036/0.0005037, allocations: 12 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1303, allocations: 58.86 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2558/0.3862, allocations: 35.68 MB / 478.4 MB, free: 29.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01907/0.4053, allocations: 9.071 MB / 487.5 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006739/0.4121, allocations: 170.4 kB / 487.7 MB, free: 23.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005425/0.4175, allocations: 1.758 MB / 489.4 MB, free: 23.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01652/0.4341, allocations: 5.197 MB / 494.6 MB, free: 20.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.437, allocations: 0.5694 MB / 495.2 MB, free: 20.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0255/0.4626, allocations: 13.91 MB / 0.4972 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00958/0.4722, allocations: 3.656 MB / 0.5007 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.4754, allocations: 0.9062 MB / 0.5016 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00411/0.4796, allocations: 1.224 MB / 0.5028 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.4809, allocations: 130.6 kB / 0.5029 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.4843, allocations: 0.8967 MB / 0.5038 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002959/0.4873, allocations: 1.396 MB / 0.5052 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00211/0.4894, allocations: 0.7748 MB / 0.5059 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007161/0.4966, allocations: 5.25 MB / 0.5111 GB, free: 9.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4966, allocations: 0 / 0.5111 GB, free: 9.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4966, allocations: 4 kB / 0.5111 GB, free: 9.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003261/0.497, allocations: 0 / 0.5111 GB, free: 9.75 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01104/0.508, allocations: 3.868 MB / 0.5149 GB, free: 6.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.5081, allocations: 11.97 kB / 0.5149 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02352/0.5316, allocations: 4.937 MB / 0.5197 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006935/0.5386, allocations: 2.594 MB / 0.5222 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.5389, allocations: 205.3 kB / 0.5224 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.5404, allocations: 283.6 kB / 0.5227 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.5614, allocations: 9.279 MB / 0.5317 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.5616, allocations: 43.59 kB / 0.5318 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000655/0.5623, allocations: 131.9 kB / 0.5319 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/0.5657, allocations: 1.923 MB / 0.5338 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.5816, allocations: 8.102 MB / 0.5417 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04946/0.6311, allocations: 36.17 MB / 0.577 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007963/0.6391, allocations: 3.705 MB / 0.5806 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004767/0.6396, allocations: 340.2 kB / 0.581 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/0.6397, allocations: 51.55 kB / 0.581 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 5.851e-06/0.6397, allocations: 0 / 0.581 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.03775/0.6775, allocations: 16.02 MB / 0.5967 GB, free: 380 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/0.6776, allocations: 175.2 kB / 0.5968 GB, free: 168 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005334/0.683, allocations: 3.758 MB / 0.6005 GB, free: 12.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003281/0.6833, allocations: 53.7 kB / 0.6005 GB, free: 12.35 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001996/0.6853, allocations: 2.819 MB / 0.6033 GB, free: 9.492 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008001/0.6861, allocations: 0.6787 MB / 0.604 GB, free: 8.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.6864, allocations: 116 kB / 0.6041 GB, free: 8.691 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003341/0.6867, allocations: 0.5336 MB / 0.6046 GB, free: 8.152 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/0.6897, allocations: 2.162 MB / 0.6067 GB, free: 5.984 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005157/0.6949, allocations: 5.477 MB / 0.6121 GB, free: 14.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/0.6997, allocations: 3.389 MB / 0.6154 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.295e-05/0.6998, allocations: 36 kB / 0.6154 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01445/0.7142, allocations: 8.234 MB / 0.6234 GB, free: 3.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/0.7144, allocations: 56 kB / 0.6235 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.7145, allocations: 116 kB / 0.6236 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/0.7168, allocations: 0.9883 MB / 0.6246 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/0.7211, allocations: 1.271 MB / 0.6258 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2566/0.9777, allocations: 6.619 MB / 0.6323 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004768/0.9825, allocations: 324.8 kB / 0.6326 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/0.9838, allocations: 342 kB / 0.6329 GB, free: 132.5 MB / 494.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 (671): * Single equations (assignments): 667 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003673/0.9875, allocations: 1.964 MB / 0.6348 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/0.9882, allocations: 324.3 kB / 0.6351 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/0.9936, allocations: 3.556 MB / 0.6386 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/0.9937, allocations: 18.12 kB / 0.6386 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.9937, allocations: 9.062 kB / 0.6386 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.9937, allocations: 6.422 kB / 0.6386 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/1.008, allocations: 8.669 MB / 0.6471 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.008, allocations: 7.188 kB / 0.6471 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.009, allocations: 271.5 kB / 0.6474 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/1.011, allocations: 0.8054 MB / 0.6482 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/1.011, allocations: 35.45 kB / 0.6482 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007/1.018, allocations: 6.162 MB / 0.6542 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.018, allocations: 4.125 kB / 0.6542 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009667/1.028, allocations: 6.436 MB / 0.6605 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.03, allocations: 0.677 MB / 0.6612 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005276/1.03, allocations: 30.42 kB / 0.6612 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.032, allocations: 115 kB / 0.6613 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/1.032, allocations: 98.3 kB / 0.6614 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.032, allocations: 47.73 kB / 0.6614 GB, free: 121.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005355/1.038, allocations: 2.371 MB / 0.6638 GB, free: 120.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.038, allocations: 0 / 0.6638 GB, free: 120.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005596/1.043, allocations: 0.9579 MB / 0.6647 GB, free: 120.2 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 (137): * Single equations (assignments): 133 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005584/1.044, allocations: 172.4 kB / 0.6649 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008702/1.053, allocations: 5.254 MB / 0.67 GB, free: 118.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.053, allocations: 1 kB / 0.67 GB, free: 118.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00351/1.056, allocations: 1.941 MB / 0.6719 GB, free: 117.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.059, allocations: 362.9 kB / 0.6722 GB, free: 117.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/1.077, allocations: 10.35 MB / 0.6823 GB, free: 112 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00405/1.081, allocations: 3.141 MB / 0.6854 GB, free: 110.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004898/1.086, allocations: 1.813 MB / 0.6872 GB, free: 110.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/1.087, allocations: 230.4 kB / 0.6874 GB, free: 110.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/1.087, allocations: 4 kB / 0.6874 GB, free: 110.6 MB / 494.1 MB Notification: Performance of Templates: time 0.053/1.14, allocations: 35.62 MB / 0.7222 GB, free: 80.86 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches