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.001181/0.001181, allocations: 109.5 kB / 16.41 MB, free: 6.441 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.001108/0.001108, allocations: 189.5 kB / 17.34 MB, free: 5.707 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.72/1.72, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2567/0.2567, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.001358/0.001358, allocations: 67.89 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1613, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01287/0.1742, allocations: 10.22 MB / 0.4979 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009683/0.184, allocations: 3.925 MB / 0.5017 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.1863, allocations: 59.81 kB / 0.5018 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005078/0.1915, allocations: 2.313 MB / 0.504 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006065/0.1976, allocations: 1.778 MB / 0.5058 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.1999, allocations: 0.6901 MB / 0.5064 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007133/0.2071, allocations: 3.817 MB / 0.5102 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005178/0.2123, allocations: 2.985 MB / 0.5131 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.2157, allocations: 1.37 MB / 0.5144 GB, free: 468 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.2191, allocations: 1.865 MB / 0.5162 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008536/0.22, allocations: 308 kB / 0.5165 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.2227, allocations: 1.182 MB / 0.5177 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002107/0.2248, allocations: 1.726 MB / 0.5194 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002718/0.2275, allocations: 2.023 MB / 0.5213 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008849/0.2364, allocations: 6.747 MB / 0.5279 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2364, allocations: 0 / 0.5279 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2364, allocations: 0 / 0.5279 GB, free: 2.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000198/0.2366, allocations: 0 / 0.5279 GB, free: 2.566 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.3336/0.5703, allocations: 4.423 MB / 0.5323 GB, free: 37.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.327e-05/0.5704, allocations: 13.83 kB / 0.5323 GB, free: 37.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/0.5858, allocations: 2.062 MB / 0.5343 GB, free: 36.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.5966, allocations: 2.49 MB / 0.5367 GB, free: 36.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004273/0.5971, allocations: 209.2 kB / 0.5369 GB, free: 36.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/0.599, allocations: 280.5 kB / 0.5372 GB, free: 36.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/0.6231, allocations: 9.281 MB / 0.5462 GB, free: 31.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.6233, allocations: 40.8 kB / 0.5463 GB, free: 31.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004616/0.6237, allocations: 136.7 kB / 0.5464 GB, free: 31.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004124/0.6279, allocations: 1.915 MB / 0.5483 GB, free: 31.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.6469, allocations: 8.169 MB / 0.5563 GB, free: 27.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04564/0.6926, allocations: 36.23 MB / 0.5916 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007839/0.7004, allocations: 3.675 MB / 0.5952 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003105/0.7036, allocations: 2.086 MB / 0.5973 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004999/0.7041, allocations: 336.2 kB / 0.5976 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.443e-05/0.7042, allocations: 47.5 kB / 0.5976 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=156): time 9.127e-06/0.7042, allocations: 112 / 0.5976 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of matching and sorting (n=177): time 0.03899/0.7432, allocations: 16.2 MB / 0.6135 GB, free: 468 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.7434, allocations: 179.2 kB / 0.6136 GB, free: 252 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005517/0.7489, allocations: 3.643 MB / 0.6172 GB, free: 12.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004896/0.7494, allocations: 55.58 kB / 0.6172 GB, free: 12.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002284/0.7517, allocations: 2.803 MB / 0.62 GB, free: 9.707 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009729/0.7527, allocations: 0.6749 MB / 0.6206 GB, free: 9.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/0.7545, allocations: 1.154 MB / 0.6218 GB, free: 7.855 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7547, allocations: 301.1 kB / 0.622 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003653/0.7583, allocations: 2.299 MB / 0.6243 GB, free: 5.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006058/0.7644, allocations: 5.639 MB / 0.6298 GB, free: 13.94 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/0.7752, allocations: 8.554 MB / 0.6382 GB, free: 3.738 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.7753, allocations: 39.94 kB / 0.6382 GB, free: 3.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01759/0.7929, allocations: 8.756 MB / 0.6467 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.7931, allocations: 56 kB / 0.6468 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.7932, allocations: 116 kB / 0.6469 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/0.7968, allocations: 1.234 MB / 0.6481 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/0.8015, allocations: 1.298 MB / 0.6494 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.8117, allocations: 7.683 MB / 0.6569 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00495/0.8166, allocations: 331.3 kB / 0.6572 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008743/0.8175, allocations: 348.2 kB / 0.6575 GB, free: 15.72 MB / 0.4981 GB 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.00382/0.8214, allocations: 1.969 MB / 0.6595 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/0.8221, allocations: 315.9 kB / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007013/0.8291, allocations: 3.944 MB / 0.6636 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-05/0.8292, allocations: 20 kB / 0.6636 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.8292, allocations: 8 kB / 0.6636 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.8292, allocations: 11.97 kB / 0.6636 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.8447, allocations: 8.929 MB / 0.6724 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.8447, allocations: 3.984 kB / 0.6724 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.8461, allocations: 275.6 kB / 0.6726 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/0.8487, allocations: 1.066 MB / 0.6737 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/0.8489, allocations: 27.98 kB / 0.6737 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009096/0.858, allocations: 7.264 MB / 0.6808 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.858, allocations: 0 / 0.6808 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.8681, allocations: 6.846 MB / 0.6875 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/0.8699, allocations: 0.6725 MB / 0.6881 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00041/0.8703, allocations: 28 kB / 0.6882 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.8716, allocations: 115.8 kB / 0.6883 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/0.8719, allocations: 104.8 kB / 0.6884 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.8721, allocations: 48 kB / 0.6884 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003418/0.8755, allocations: 2.281 MB / 0.6906 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8755, allocations: 0 / 0.6906 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004898/0.8804, allocations: 0.9674 MB / 0.6916 GB, free: 12.56 MB / 0.5294 GB 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.0004555/0.8809, allocations: 164.3 kB / 0.6917 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008483/0.8894, allocations: 5.482 MB / 0.6971 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8894, allocations: 0 / 0.6971 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003309/0.8927, allocations: 2.041 MB / 0.6991 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.8953, allocations: 395 kB / 0.6995 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.911, allocations: 8.944 MB / 0.7082 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003391/0.9144, allocations: 3.068 MB / 0.7112 GB, free: 8.426 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004305/0.9187, allocations: 1.804 MB / 0.713 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.9195, allocations: 231.4 kB / 0.7132 GB, free: 6.395 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.9195, allocations: 0 / 0.7132 GB, free: 6.395 MB / 0.545 GB Notification: Performance of Templates: time 0.06995/0.9895, allocations: 35.98 MB / 0.7483 GB, free: 2.414 MB / 0.5762 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