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.001227/0.001227, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2498/0.2498, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4861, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01437/0.5005, allocations: 9.453 MB / 0.5402 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.5108, allocations: 3.807 MB / 0.544 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.5139, allocations: 56.31 kB / 0.544 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005841/0.5199, allocations: 2.282 MB / 0.5462 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006321/0.5262, allocations: 1.606 MB / 0.5478 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.5284, allocations: 0.694 MB / 0.5485 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006031/0.5345, allocations: 3.798 MB / 0.5522 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003996/0.5385, allocations: 2.898 MB / 0.555 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.5408, allocations: 1.285 MB / 0.5563 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002981/0.5438, allocations: 1.721 MB / 0.558 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.5448, allocations: 280 kB / 0.5582 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.5475, allocations: 1.151 MB / 0.5594 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001998/0.5495, allocations: 1.582 MB / 0.5609 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003156/0.5527, allocations: 1.852 MB / 0.5627 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00865/0.5614, allocations: 6.235 MB / 0.5688 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5614, allocations: 0 / 0.5688 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.5614, allocations: 4 kB / 0.5688 GB, free: 10.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001655/0.5616, allocations: 0 / 0.5688 GB, free: 10.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.00893/0.5705, allocations: 4.258 MB / 0.573 GB, free: 6.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5706, allocations: 12.03 kB / 0.573 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008666/0.5793, allocations: 2.019 MB / 0.5749 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006451/0.5857, allocations: 2.343 MB / 0.5772 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.586, allocations: 193.3 kB / 0.5774 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.5872, allocations: 260 kB / 0.5777 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.6045, allocations: 8.588 MB / 0.586 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/0.6047, allocations: 39.64 kB / 0.5861 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008727/0.6056, allocations: 127.9 kB / 0.5862 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00309/0.6087, allocations: 1.739 MB / 0.5879 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.6235, allocations: 7.561 MB / 0.5953 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04781/0.6714, allocations: 34.21 MB / 0.6287 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00731/0.6787, allocations: 3.096 MB / 0.6317 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.6813, allocations: 1.911 MB / 0.6336 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/0.6817, allocations: 335.7 kB / 0.6339 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.6818, allocations: 51.22 kB / 0.634 GB, free: 6.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.649e-06/0.6818, allocations: 3.938 kB / 0.634 GB, free: 6.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.04334/0.7252, allocations: 15.51 MB / 0.6491 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.7254, allocations: 175.1 kB / 0.6493 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007531/0.7329, allocations: 3.524 MB / 0.6527 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005293/0.7335, allocations: 45.7 kB / 0.6528 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002766/0.7363, allocations: 2.749 MB / 0.6554 GB, free: 40 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.7374, allocations: 0.6399 MB / 0.6561 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00282/0.7402, allocations: 1.103 MB / 0.6571 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7404, allocations: 305.1 kB / 0.6574 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/0.7439, allocations: 2.123 MB / 0.6595 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005991/0.7499, allocations: 5.333 MB / 0.6647 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009514/0.7595, allocations: 8.043 MB / 0.6726 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/0.7596, allocations: 32 kB / 0.6726 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.017/0.7766, allocations: 8.297 MB / 0.6807 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.7768, allocations: 56 kB / 0.6808 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001849/0.777, allocations: 116 kB / 0.6809 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.7801, allocations: 1.226 MB / 0.6821 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004129/0.7842, allocations: 1.212 MB / 0.6832 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.7954, allocations: 7.61 MB / 0.6907 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005127/0.8006, allocations: 319.6 kB / 0.691 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/0.8018, allocations: 324 kB / 0.6913 GB, free: 7.938 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.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 (649): * Single equations (assignments): 645 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00437/0.8062, allocations: 1.844 MB / 0.6931 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/0.8073, allocations: 314 kB / 0.6934 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007591/0.8149, allocations: 3.576 MB / 0.6969 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/0.815, allocations: 23.98 kB / 0.6969 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/0.815, allocations: 4 kB / 0.6969 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/0.815, allocations: 11.97 kB / 0.6969 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.8336, allocations: 8.162 MB / 0.7049 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/0.8336, allocations: 0 / 0.7049 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.8349, allocations: 231.6 kB / 0.7051 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/0.8377, allocations: 1.058 MB / 0.7061 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/0.8379, allocations: 31.94 kB / 0.7062 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009957/0.8479, allocations: 7.268 MB / 0.7133 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.8479, allocations: 4 kB / 0.7133 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009996/0.8579, allocations: 6.288 MB / 0.7194 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.8591, allocations: 382.8 kB / 0.7198 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008669/0.86, allocations: 24.28 kB / 0.7198 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.8619, allocations: 99.84 kB / 0.7199 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/0.8622, allocations: 88.83 kB / 0.72 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.8624, allocations: 43.94 kB / 0.72 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00457/0.867, allocations: 2.2 MB / 0.7222 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.867, allocations: 0 / 0.7222 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005628/0.8726, allocations: 0.8905 MB / 0.723 GB, free: 7.137 MB / 0.5762 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 (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.0005479/0.8732, allocations: 151 kB / 0.7232 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008906/0.8821, allocations: 5.15 MB / 0.7282 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8821, allocations: 0 / 0.7282 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.3537/1.236, allocations: 1.874 MB / 0.7301 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/1.239, allocations: 361 kB / 0.7304 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.255, allocations: 8.416 MB / 0.7386 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004101/1.259, allocations: 2.89 MB / 0.7414 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004461/1.264, allocations: 1.709 MB / 0.7431 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007303/1.264, allocations: 214.8 kB / 0.7433 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/1.264, allocations: 2.297 kB / 0.7433 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.05669/1.321, allocations: 33.44 MB / 0.776 GB, free: 149 MB / 0.5762 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches