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.001785/0.001785, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002337/0.002338, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2507/0.2507, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4473, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01109/0.4584, allocations: 9.46 MB / 0.5402 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.4687, allocations: 3.804 MB / 0.544 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.4719, allocations: 51.94 kB / 0.544 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004673/0.4766, allocations: 2.281 MB / 0.5462 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005658/0.4823, allocations: 1.614 MB / 0.5478 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.4845, allocations: 0.694 MB / 0.5485 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00667/0.4911, allocations: 3.798 MB / 0.5522 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004967/0.4961, allocations: 2.899 MB / 0.555 GB, free: 9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.4999, allocations: 1.293 MB / 0.5563 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003353/0.5033, allocations: 1.717 MB / 0.558 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.5044, allocations: 280 kB / 0.5582 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.5077, allocations: 1.162 MB / 0.5594 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.5097, allocations: 1.586 MB / 0.5609 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.5117, allocations: 1.856 MB / 0.5627 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007318/0.5191, allocations: 6.212 MB / 0.5688 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5191, allocations: 0 / 0.5688 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5191, allocations: 0 / 0.5688 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001194/0.5192, allocations: 0 / 0.5688 GB, free: 10.86 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.008786/0.528, allocations: 4.159 MB / 0.5729 GB, free: 6.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.5281, allocations: 8.031 kB / 0.5729 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007966/0.5361, allocations: 2 MB / 0.5748 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005319/0.5414, allocations: 2.319 MB / 0.5771 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.5416, allocations: 197.3 kB / 0.5773 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004937/0.5421, allocations: 259.9 kB / 0.5775 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.556, allocations: 8.592 MB / 0.5859 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001936/0.5563, allocations: 39.59 kB / 0.5859 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003356/0.5566, allocations: 127.9 kB / 0.5861 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003215/0.5598, allocations: 1.743 MB / 0.5878 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.5726, allocations: 7.564 MB / 0.5952 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04074/0.6133, allocations: 34.15 MB / 0.6285 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006633/0.62, allocations: 3.1 MB / 0.6315 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/0.6225, allocations: 1.903 MB / 0.6334 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004739/0.623, allocations: 335.7 kB / 0.6337 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.6231, allocations: 43.22 kB / 0.6338 GB, free: 6.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 8.146e-06/0.6231, allocations: 4 kB / 0.6338 GB, free: 6.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.03804/0.6611, allocations: 15.32 MB / 0.6487 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6613, allocations: 171.2 kB / 0.6489 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004633/0.6659, allocations: 3.507 MB / 0.6523 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003366/0.6663, allocations: 57.69 kB / 0.6524 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.668, allocations: 2.636 MB / 0.6549 GB, free: 464 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007336/0.6688, allocations: 0.6056 MB / 0.6555 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.6702, allocations: 1.098 MB / 0.6566 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6703, allocations: 309.1 kB / 0.6569 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.6731, allocations: 2.119 MB / 0.659 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004915/0.678, allocations: 5.337 MB / 0.6642 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009509/0.6876, allocations: 8.039 MB / 0.672 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.318e-05/0.6877, allocations: 32 kB / 0.6721 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.0173/0.705, allocations: 8.288 MB / 0.6802 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.7053, allocations: 56 kB / 0.6802 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003064/0.7056, allocations: 116.2 kB / 0.6803 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003342/0.7089, allocations: 1.226 MB / 0.6815 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004469/0.7134, allocations: 1.213 MB / 0.6827 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.7242, allocations: 7.611 MB / 0.6901 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/0.7287, allocations: 307.5 kB / 0.6904 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.7298, allocations: 336 kB / 0.6907 GB, free: 8.402 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.003994/0.7338, allocations: 1.848 MB / 0.6925 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008507/0.7347, allocations: 300.1 kB / 0.6928 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006584/0.7413, allocations: 3.572 MB / 0.6963 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-05/0.7414, allocations: 20 kB / 0.6963 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.7414, allocations: 7.984 kB / 0.6964 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.7414, allocations: 4.266 kB / 0.6964 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.7558, allocations: 8.165 MB / 0.7043 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.7559, allocations: 7.938 kB / 0.7043 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.757, allocations: 223.6 kB / 0.7045 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002939/0.76, allocations: 1.062 MB / 0.7056 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.7601, allocations: 31.97 kB / 0.7056 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.7703, allocations: 7.264 MB / 0.7127 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7704, allocations: 4 kB / 0.7127 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.7809, allocations: 6.275 MB / 0.7188 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.7822, allocations: 361.1 kB / 0.7192 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.7825, allocations: 24 kB / 0.7192 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.7838, allocations: 103.8 kB / 0.7193 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.7841, allocations: 84.88 kB / 0.7194 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.7842, allocations: 40.19 kB / 0.7194 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003406/0.7876, allocations: 2.196 MB / 0.7216 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7876, allocations: 3.938 kB / 0.7216 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006023/0.7937, allocations: 0.8905 MB / 0.7224 GB, free: 7.652 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.0006334/0.7943, allocations: 151.1 kB / 0.7226 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008532/0.8029, allocations: 5.161 MB / 0.7276 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8029, allocations: 0 / 0.7276 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003025/0.8059, allocations: 1.858 MB / 0.7294 GB, free: 484 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.8083, allocations: 371.8 kB / 0.7298 GB, free: 116 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3247/1.133, allocations: 8.289 MB / 0.7379 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/1.136, allocations: 2.888 MB / 0.7407 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003711/1.14, allocations: 1.712 MB / 0.7424 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/1.141, allocations: 208.2 kB / 0.7426 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.343e-06/1.141, allocations: 3.781 kB / 0.7426 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.05541/1.196, allocations: 33.32 MB / 0.7751 GB, free: 149.9 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