Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008871/0.0008872, allocations: 103 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009763/0.0009764, allocations: 201.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.2 MB / 245.9 MB, free: 12.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 45.92 MB / 344 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002864, allocations: 11.98 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1592, allocations: 63.45 MB / 481.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03625/0.1956, allocations: 35.16 MB / 0.5044 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3519/0.5475, allocations: 8.988 MB / 0.5132 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01053/0.558, allocations: 171.6 kB / 0.5134 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008285/0.5664, allocations: 1.738 MB / 0.5151 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02505/0.5915, allocations: 5.142 MB / 0.5201 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.5954, allocations: 0.5654 MB / 0.5207 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03878/0.6342, allocations: 24.74 MB / 0.5448 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005738/0.6399, allocations: 3.59 MB / 0.5483 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.6419, allocations: 0.858 MB / 0.5492 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.6436, allocations: 1.129 MB / 0.5503 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003827/0.644, allocations: 120 kB / 0.5504 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.6459, allocations: 0.8864 MB / 0.5512 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.6473, allocations: 1.314 MB / 0.5525 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008526/0.6481, allocations: 0.7331 MB / 0.5532 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.6541, allocations: 4.944 MB / 0.5581 GB, free: 7.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6541, allocations: 0 / 0.5581 GB, free: 7.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6541, allocations: 0 / 0.5581 GB, free: 7.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001817/0.6543, allocations: 0 / 0.5581 GB, free: 7.125 MB / 398.1 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.01024/0.6646, allocations: 3.721 MB / 0.5617 GB, free: 3.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.6646, allocations: 8.031 kB / 0.5617 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02459/0.6892, allocations: 4.906 MB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006681/0.696, allocations: 2.366 MB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.6962, allocations: 196.7 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.6972, allocations: 267.5 kB / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.7142, allocations: 8.771 MB / 0.5778 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.7144, allocations: 39.59 kB / 0.5779 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/0.7148, allocations: 130.2 kB / 0.578 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003328/0.7181, allocations: 1.807 MB / 0.5797 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.7347, allocations: 7.662 MB / 0.5872 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05054/0.7853, allocations: 34.51 MB / 0.6209 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007276/0.7926, allocations: 3.119 MB / 0.624 GB, free: 2.891 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004094/0.793, allocations: 327.6 kB / 0.6243 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.7931, allocations: 51.16 kB / 0.6243 GB, free: 2.465 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 3.206e-06/0.7931, allocations: 0 / 0.6243 GB, free: 2.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=156): time 0.03722/0.8303, allocations: 15.09 MB / 0.6391 GB, free: 3.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.8305, allocations: 172.3 kB / 0.6392 GB, free: 2.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005551/0.8361, allocations: 3.662 MB / 0.6428 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003865/0.8365, allocations: 49.89 kB / 0.6429 GB, free: 15.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/0.8388, allocations: 2.706 MB / 0.6455 GB, free: 12.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008445/0.8397, allocations: 0.6144 MB / 0.6461 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.8399, allocations: 100 kB / 0.6462 GB, free: 11.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003673/0.8403, allocations: 0.5304 MB / 0.6467 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/0.8433, allocations: 2.001 MB / 0.6487 GB, free: 9.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006333/0.8496, allocations: 5.228 MB / 0.6538 GB, free: 2.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005351/0.855, allocations: 3.187 MB / 0.6569 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.148e-05/0.8551, allocations: 40 kB / 0.6569 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01559/0.8707, allocations: 7.784 MB / 0.6645 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/0.8708, allocations: 58.81 kB / 0.6646 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001693/0.871, allocations: 112 kB / 0.6647 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/0.8742, allocations: 0.9844 MB / 0.6656 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005967/0.8802, allocations: 1.193 MB / 0.6668 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.893, allocations: 6.638 MB / 0.6733 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006458/0.8995, allocations: 303.5 kB / 0.6736 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/0.9009, allocations: 330.4 kB / 0.6739 GB, free: 13.71 MB / 0.5137 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 (636): * Single equations (assignments): 632 * 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.005766/0.9066, allocations: 1.884 MB / 0.6757 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/0.9078, allocations: 308 kB / 0.676 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008683/0.9165, allocations: 3.198 MB / 0.6792 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.354e-05/0.9166, allocations: 20 kB / 0.6792 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/0.9166, allocations: 4 kB / 0.6792 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.9167, allocations: 7.969 kB / 0.6792 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/0.937, allocations: 7.98 MB / 0.687 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.937, allocations: 0 / 0.687 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.9382, allocations: 231.6 kB / 0.6872 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/0.9403, allocations: 0.8007 MB / 0.688 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.9406, allocations: 30.81 kB / 0.688 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/0.9508, allocations: 6.159 MB / 0.694 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.9508, allocations: 7.953 kB / 0.694 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009998/0.9608, allocations: 5.86 MB / 0.6998 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.9623, allocations: 377 kB / 0.7001 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008843/0.9632, allocations: 31.94 kB / 0.7001 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/0.965, allocations: 91.88 kB / 0.7002 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/0.9653, allocations: 80.88 kB / 0.7003 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.9655, allocations: 40 kB / 0.7003 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00582/0.9713, allocations: 2.307 MB / 0.7026 GB, free: 68 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9713, allocations: 96 / 0.7026 GB, free: 68 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006192/0.9775, allocations: 0.9048 MB / 0.7035 GB, free: 15.16 MB / 0.545 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.0007637/0.9783, allocations: 178.9 kB / 0.7037 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009251/0.9876, allocations: 4.853 MB / 0.7084 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.9876, allocations: 4 kB / 0.7084 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003469/0.9911, allocations: 1.763 MB / 0.7101 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.9936, allocations: 364.7 kB / 0.7105 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2624/1.256, allocations: 9.692 MB / 0.7199 GB, free: 196.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00449/1.261, allocations: 3.003 MB / 0.7229 GB, free: 196.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005275/1.266, allocations: 1.73 MB / 0.7246 GB, free: 196 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008609/1.267, allocations: 215.3 kB / 0.7248 GB, free: 196 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/1.267, allocations: 0 / 0.7248 GB, free: 196 MB / 0.545 GB Notification: Performance of Templates: time 0.08228/1.349, allocations: 33.5 MB / 0.7575 GB, free: 178.8 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches