Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,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.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 177 kB / 16.58 MB, free: 6.84 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.878/1.878, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.4732/0.4732, allocations: 43.58 MB / 314.6 MB, free: 8.762 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.0005823/0.0005825, allocations: 12 kB / 383.9 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1513, allocations: 58.88 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3073/0.4586, allocations: 39.34 MB / 482.2 MB, free: 27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02596/0.4846, allocations: 9.127 MB / 491.3 MB, free: 20.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01022/0.4949, allocations: 187.8 kB / 491.5 MB, free: 20.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006851/0.5018, allocations: 2.012 MB / 493.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01839/0.5202, allocations: 6.159 MB / 499.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.5243, allocations: 0.8506 MB / 0.4888 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03397/0.5583, allocations: 19.84 MB / 0.5081 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009362/0.5677, allocations: 4.116 MB / 0.5122 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.5724, allocations: 1.479 MB / 0.5136 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004975/0.5774, allocations: 2.356 MB / 0.5159 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001638/0.5791, allocations: 168 kB / 0.5161 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.5824, allocations: 1.092 MB / 0.5171 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003015/0.5855, allocations: 1.964 MB / 0.519 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.5876, allocations: 0.9284 MB / 0.52 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00811/0.5958, allocations: 6.145 MB / 0.526 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.5958, allocations: 3.938 kB / 0.526 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.5958, allocations: 3.984 kB / 0.526 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000318/0.5961, allocations: 0 / 0.526 GB, free: 11.04 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01281/0.609, allocations: 4.856 MB / 0.5307 GB, free: 6.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.609, allocations: 8.031 kB / 0.5307 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.6238, allocations: 2.661 MB / 0.5333 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008359/0.6322, allocations: 3.192 MB / 0.5364 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.6326, allocations: 262.5 kB / 0.5367 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.634, allocations: 355.5 kB / 0.537 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.6578, allocations: 12.36 MB / 0.5491 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/0.658, allocations: 55.52 kB / 0.5491 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000557/0.6586, allocations: 163.8 kB / 0.5493 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004062/0.6627, allocations: 2.381 MB / 0.5516 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/0.6862, allocations: 10.81 MB / 0.5622 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07189/0.7582, allocations: 48.81 MB / 0.6098 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/0.7741, allocations: 6.048 MB / 0.6158 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004826/0.779, allocations: 3.283 MB / 0.619 GB, free: 9.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3005/1.079, allocations: 13.53 MB / 0.6322 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/1.08, allocations: 55.44 kB / 0.6322 GB, free: 138.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 4.648e-06/1.08, allocations: 3.844 kB / 0.6322 GB, free: 138.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.1044/1.184, allocations: 36.41 MB / 0.6678 GB, free: 129.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.184, allocations: 209.4 kB / 0.668 GB, free: 129.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007213/1.191, allocations: 4.362 MB / 0.6722 GB, free: 128 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008566/1.192, allocations: 71.31 kB / 0.6723 GB, free: 127.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002801/1.195, allocations: 3.376 MB / 0.6756 GB, free: 125.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001629/1.197, allocations: 0.9921 MB / 0.6766 GB, free: 124.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000409/1.197, allocations: 139.8 kB / 0.6767 GB, free: 124.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000327/1.197, allocations: 0.6049 MB / 0.6773 GB, free: 124.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/1.202, allocations: 3.256 MB / 0.6805 GB, free: 122.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007479/1.21, allocations: 7.184 MB / 0.6875 GB, free: 116.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/1.218, allocations: 4.698 MB / 0.6921 GB, free: 114.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.673e-05/1.218, allocations: 39.69 kB / 0.6921 GB, free: 114.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02566/1.243, allocations: 13.21 MB / 0.705 GB, free: 101.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.259e-05/1.244, allocations: 64.22 kB / 0.7051 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/1.244, allocations: 140 kB / 0.7052 GB, free: 101.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008346/1.252, allocations: 3.426 MB / 0.7086 GB, free: 97.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005177/1.257, allocations: 1.585 MB / 0.7101 GB, free: 96.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/1.277, allocations: 16.36 MB / 0.7261 GB, free: 79.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006933/1.284, allocations: 439.3 kB / 0.7265 GB, free: 79.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.286, allocations: 412 kB / 0.7269 GB, free: 79.09 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,60.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004644/1.29, allocations: 2.347 MB / 0.7292 GB, free: 76.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.291, allocations: 398.8 kB / 0.7296 GB, free: 76.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.306, allocations: 8.003 MB / 0.7374 GB, free: 68.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/1.306, allocations: 32 kB / 0.7374 GB, free: 68.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/1.306, allocations: 8 kB / 0.7374 GB, free: 68.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-05/1.306, allocations: 15.95 kB / 0.7374 GB, free: 68.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/1.333, allocations: 15.52 MB / 0.7526 GB, free: 52.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.352e-05/1.333, allocations: 4 kB / 0.7526 GB, free: 52.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.335, allocations: 379.5 kB / 0.753 GB, free: 52.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007709/1.343, allocations: 3.171 MB / 0.7561 GB, free: 49.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004692/1.343, allocations: 40 kB / 0.7561 GB, free: 49.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/1.36, allocations: 14.67 MB / 0.7704 GB, free: 34.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/1.36, allocations: 15.83 kB / 0.7704 GB, free: 34.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/1.379, allocations: 12.1 MB / 0.7823 GB, free: 22.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002295/1.381, allocations: 0.9497 MB / 0.7832 GB, free: 21.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005509/1.382, allocations: 40 kB / 0.7832 GB, free: 21.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.384, allocations: 191.7 kB / 0.7834 GB, free: 20.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/1.384, allocations: 161.6 kB / 0.7836 GB, free: 20.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.384, allocations: 64 kB / 0.7836 GB, free: 20.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003385/1.388, allocations: 2.726 MB / 0.7863 GB, free: 17.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.388, allocations: 0 / 0.7863 GB, free: 17.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006664/1.394, allocations: 1.37 MB / 0.7876 GB, free: 16.62 MB / 494.1 MB 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 (197): * Single equations (assignments): 193 * 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 {(5,60.0%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005253/1.395, allocations: 181.8 kB / 0.7878 GB, free: 16.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01205/1.407, allocations: 8.137 MB / 0.7957 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/1.407, allocations: 4.375 kB / 0.7957 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004435/1.411, allocations: 3.297 MB / 0.799 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.415, allocations: 481.4 kB / 0.7994 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2611/1.676, allocations: 13.88 MB / 0.813 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004449/1.68, allocations: 3.678 MB / 0.8166 GB, free: 142 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005457/1.686, allocations: 2.185 MB / 0.8187 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00093/1.687, allocations: 283.1 kB / 0.819 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.174e-06/1.687, allocations: 1.031 kB / 0.819 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.1092/1.796, allocations: 55.93 MB / 0.8736 GB, free: 122.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches