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.001016/0.001016, allocations: 103.9 kB / 15.98 MB, free: 6.359 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.00099/0.00099, allocations: 190.7 kB / 16.91 MB, free: 6.191 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.679/1.679, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.399/0.399, allocations: 43.5 MB / 313.6 MB, free: 8.301 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.001688/0.001688, allocations: 67.91 kB / 382.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.193, allocations: 57.78 MB / 440 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3951/0.5882, allocations: 41.68 MB / 481.7 MB, free: 25.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02628/0.6145, allocations: 9.146 MB / 490.8 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01266/0.6272, allocations: 180.1 kB / 491 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004798/0.6321, allocations: 2.232 MB / 493.2 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005658/0.6378, allocations: 1.61 MB / 494.9 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.6397, allocations: 0.6463 MB / 495.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007623/0.6474, allocations: 3.951 MB / 499.4 MB, free: 16.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005999/0.6534, allocations: 3.153 MB / 0.4908 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004712/0.6582, allocations: 1.388 MB / 0.4922 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005646/0.6639, allocations: 2.068 MB / 0.4942 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.6653, allocations: 306.5 kB / 0.4945 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004131/0.6695, allocations: 1.199 MB / 0.4957 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003752/0.6732, allocations: 1.739 MB / 0.4974 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005387/0.6786, allocations: 2.044 MB / 0.4994 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.6936, allocations: 6.571 MB / 0.5058 GB, free: 8.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.6937, allocations: 1.125 kB / 0.5058 GB, free: 8.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.6937, allocations: 0 / 0.5058 GB, free: 8.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004331/0.6942, allocations: 0 / 0.5058 GB, free: 8.727 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.02455/0.7187, allocations: 4.429 MB / 0.5101 GB, free: 5.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.612e-05/0.7188, allocations: 13.45 kB / 0.5101 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.7343, allocations: 2.055 MB / 0.5121 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.7465, allocations: 2.455 MB / 0.5145 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005602/0.7472, allocations: 209.3 kB / 0.5147 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003283/0.7505, allocations: 276.4 kB / 0.515 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03408/0.7846, allocations: 9.288 MB / 0.524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/0.7848, allocations: 39.59 kB / 0.5241 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005469/0.7853, allocations: 135.8 kB / 0.5242 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003492/0.7888, allocations: 1.919 MB / 0.5261 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/0.8172, allocations: 8.161 MB / 0.5341 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08388/0.9011, allocations: 36.41 MB / 0.5696 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009513/0.9107, allocations: 3.677 MB / 0.5732 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/0.9143, allocations: 2.087 MB / 0.5752 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/0.9149, allocations: 328.1 kB / 0.5756 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.919e-05/0.915, allocations: 59.55 kB / 0.5756 GB, free: 4.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 5.57e-06/0.9151, allocations: 0 / 0.5756 GB, free: 4.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.04614/0.9612, allocations: 16.21 MB / 0.5914 GB, free: 4.004 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.9615, allocations: 175.2 kB / 0.5916 GB, free: 3.797 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007315/0.9688, allocations: 3.65 MB / 0.5952 GB, free: 152 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008559/0.9697, allocations: 49.69 kB / 0.5952 GB, free: 96 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00309/0.9728, allocations: 2.799 MB / 0.598 GB, free: 13.26 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001417/0.9742, allocations: 0.6827 MB / 0.5986 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001993/0.9762, allocations: 1.162 MB / 0.5998 GB, free: 11.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.9764, allocations: 305.1 kB / 0.6 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/0.9806, allocations: 2.291 MB / 0.6023 GB, free: 8.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007177/0.9878, allocations: 5.639 MB / 0.6078 GB, free: 1.484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/1, allocations: 8.547 MB / 0.6161 GB, free: 7.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/1, allocations: 36 kB / 0.6162 GB, free: 7.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02006/1.02, allocations: 8.755 MB / 0.6247 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.02, allocations: 59.94 kB / 0.6248 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.021, allocations: 120 kB / 0.6249 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/1.024, allocations: 1.227 MB / 0.6261 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/1.029, allocations: 1.298 MB / 0.6274 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.039, allocations: 7.702 MB / 0.6349 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/1.045, allocations: 335.5 kB / 0.6352 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001601/1.047, allocations: 344 kB / 0.6355 GB, free: 3.27 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.006418/1.053, allocations: 1.973 MB / 0.6375 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/1.055, allocations: 319.8 kB / 0.6378 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3863/1.441, allocations: 3.925 MB / 0.6416 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.868e-05/1.441, allocations: 19.8 kB / 0.6416 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/1.441, allocations: 5.031 kB / 0.6416 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.1e-05/1.441, allocations: 15.78 kB / 0.6416 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.46, allocations: 9.028 MB / 0.6504 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.46, allocations: 0 / 0.6504 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.461, allocations: 269.8 kB / 0.6507 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002495/1.464, allocations: 1.059 MB / 0.6517 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/1.464, allocations: 29.69 kB / 0.6518 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009387/1.473, allocations: 7.208 MB / 0.6588 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.473, allocations: 0 / 0.6588 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.484, allocations: 6.849 MB / 0.6655 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/1.486, allocations: 0.6787 MB / 0.6662 GB, free: 148.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/1.487, allocations: 30.39 kB / 0.6662 GB, free: 148.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.488, allocations: 112.4 kB / 0.6663 GB, free: 148.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/1.488, allocations: 97.8 kB / 0.6664 GB, free: 148.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.488, allocations: 55.42 kB / 0.6664 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00475/1.493, allocations: 2.277 MB / 0.6687 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.125e-06/1.493, allocations: 1.219 kB / 0.6687 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007065/1.5, allocations: 0.9711 MB / 0.6696 GB, free: 148 MB / 0.4981 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.000554/1.501, allocations: 161.9 kB / 0.6698 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.515, allocations: 6.509 MB / 0.6761 GB, free: 146 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.515, allocations: 0 / 0.6761 GB, free: 146 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00474/1.52, allocations: 2.036 MB / 0.6781 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/1.523, allocations: 394.7 kB / 0.6785 GB, free: 145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.544, allocations: 10.85 MB / 0.6891 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003807/1.548, allocations: 3.065 MB / 0.6921 GB, free: 138.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004546/1.553, allocations: 1.802 MB / 0.6938 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008069/1.554, allocations: 234.2 kB / 0.6941 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.755e-06/1.554, allocations: 4 kB / 0.6941 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.07779/1.631, allocations: 38.75 MB / 0.7319 GB, free: 101.3 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches