Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009883/0.0009884, allocations: 199 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007446/0.0007446, allocations: 103.4 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1758/0.1758, allocations: 44.84 MB / 392 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002265/0.0002266, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09258, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2183/0.311, allocations: 37.2 MB / 0.5516 GB, free: 3.438 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.329, allocations: 8.669 MB / 0.5601 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006271/0.3353, allocations: 170.3 kB / 0.5603 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005466/0.3408, allocations: 1.928 MB / 0.5622 GB, free: 12.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01564/0.3565, allocations: 5.796 MB / 0.5678 GB, free: 7.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.3589, allocations: 0.5733 MB / 0.5684 GB, free: 7.207 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0333/0.3922, allocations: 31.88 MB / 0.5995 GB, free: 7.285 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004631/0.3969, allocations: 3.618 MB / 0.603 GB, free: 3.625 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.3988, allocations: 1.051 MB / 0.6041 GB, free: 2.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.4005, allocations: 1.616 MB / 0.6056 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002987/0.4009, allocations: 127.9 kB / 0.6058 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.4024, allocations: 0.905 MB / 0.6067 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.4035, allocations: 1.414 MB / 0.608 GB, free: 14.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005889/0.4041, allocations: 0.7221 MB / 0.6087 GB, free: 13.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.4082, allocations: 4.875 MB / 0.6135 GB, free: 8.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4082, allocations: 0 / 0.6135 GB, free: 8.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4082, allocations: 0 / 0.6135 GB, free: 8.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.204e-05/0.4083, allocations: 0 / 0.6135 GB, free: 8.883 MB / 426.7 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.0062/0.4145, allocations: 3.535 MB / 0.617 GB, free: 5.281 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4146, allocations: 8.031 kB / 0.617 GB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/0.4219, allocations: 2.085 MB / 0.619 GB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.4264, allocations: 2.268 MB / 0.6212 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.4266, allocations: 193 kB / 0.6214 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/0.4271, allocations: 267.8 kB / 0.6217 GB, free: 420 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/0.4399, allocations: 8.767 MB / 0.6302 GB, free: 7.027 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.763e-05/0.44, allocations: 35.66 kB / 0.6302 GB, free: 6.992 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.4404, allocations: 123.9 kB / 0.6304 GB, free: 6.871 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002886/0.4433, allocations: 1.801 MB / 0.6321 GB, free: 5.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.458, allocations: 7.698 MB / 0.6396 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03633/0.4944, allocations: 34.75 MB / 0.6736 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006017/0.5004, allocations: 3.085 MB / 0.6766 GB, free: 6.387 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.5025, allocations: 1.907 MB / 0.6784 GB, free: 4.469 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/0.5029, allocations: 331.8 kB / 0.6788 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.5029, allocations: 59.12 kB / 0.6788 GB, free: 4.023 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 3.606e-06/0.5029, allocations: 0 / 0.6788 GB, free: 4.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=156): time 0.03581/0.5387, allocations: 15.36 MB / 0.6938 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.5389, allocations: 171.2 kB / 0.694 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004457/0.5433, allocations: 3.533 MB / 0.6974 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.5435, allocations: 45.7 kB / 0.6975 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/0.5452, allocations: 2.686 MB / 0.7001 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/0.5457, allocations: 0.6133 MB / 0.7007 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.5459, allocations: 108 kB / 0.7008 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002829/0.5462, allocations: 0.5331 MB / 0.7013 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/0.549, allocations: 2.107 MB / 0.7034 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005359/0.5544, allocations: 5.37 MB / 0.7086 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004521/0.559, allocations: 3.304 MB / 0.7119 GB, free: 336 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-05/0.559, allocations: 32 kB / 0.7119 GB, free: 304 kB / 0.5105 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.223/0.7821, allocations: 8.285 MB / 0.72 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.7822, allocations: 53.56 kB / 0.72 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/0.7823, allocations: 116 kB / 0.7201 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/0.7854, allocations: 1.235 MB / 0.7213 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/0.7891, allocations: 1.225 MB / 0.7225 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009035/0.7982, allocations: 7.197 MB / 0.7296 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/0.8019, allocations: 322.2 kB / 0.7299 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005111/0.8024, allocations: 331.2 kB / 0.7302 GB, free: 159.2 MB / 0.5105 GB 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 (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.003136/0.8055, allocations: 1.884 MB / 0.732 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004833/0.806, allocations: 301.6 kB / 0.7323 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/0.8117, allocations: 3.563 MB / 0.7358 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.551e-05/0.8117, allocations: 22.31 kB / 0.7358 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.8118, allocations: 9.094 kB / 0.7358 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.8118, allocations: 10.06 kB / 0.7358 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.8229, allocations: 8.322 MB / 0.744 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.8229, allocations: 7.859 kB / 0.744 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009469/0.8239, allocations: 226.8 kB / 0.7442 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/0.8261, allocations: 1.059 MB / 0.7452 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.8263, allocations: 23.84 kB / 0.7452 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006912/0.8332, allocations: 6.729 MB / 0.7518 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8332, allocations: 0 / 0.7518 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007057/0.8403, allocations: 6.257 MB / 0.7579 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/0.841, allocations: 370 kB / 0.7583 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.8413, allocations: 29.17 kB / 0.7583 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.8424, allocations: 103.8 kB / 0.7584 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.8426, allocations: 88.83 kB / 0.7585 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.993e-05/0.8427, allocations: 41.25 kB / 0.7585 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002417/0.8451, allocations: 2.201 MB / 0.7607 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8451, allocations: 0 / 0.7607 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003323/0.8485, allocations: 0.9088 MB / 0.7616 GB, free: 138.4 MB / 0.5105 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 (115): * Single equations (assignments): 111 * 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.0003111/0.8488, allocations: 157.5 kB / 0.7617 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005408/0.8542, allocations: 5.074 MB / 0.7667 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.8542, allocations: 4.312 kB / 0.7667 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.8565, allocations: 1.859 MB / 0.7685 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.8582, allocations: 356.8 kB / 0.7688 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.8689, allocations: 10.25 MB / 0.7788 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.8709, allocations: 2.914 MB / 0.7817 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/0.8717, allocations: 255.4 kB / 0.7819 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/0.8717, allocations: 0 / 0.7819 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.06366/0.9354, allocations: 67.78 MB / 0.8481 GB, free: 49.72 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches