Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 101.9 kB / 16.02 MB, free: 76 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.001457/0.001457, allocations: 181.4 kB / 16.92 MB, free: 6.922 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.9/1.9, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.4249/0.4249, allocations: 43.58 MB / 315 MB, free: 8.703 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.0004995/0.0004995, allocations: 12 kB / 384.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1444, allocations: 58.87 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3409/0.4854, allocations: 46.95 MB / 490.4 MB, free: 20.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02945/0.5149, allocations: 10.64 MB / 0.4893 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01295/0.5279, allocations: 207.7 kB / 0.4895 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.5303, allocations: 0.5065 MB / 0.49 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007378/0.5377, allocations: 2.077 MB / 0.492 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.5411, allocations: 1.079 MB / 0.4931 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0153/0.5564, allocations: 8.041 MB / 0.5009 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01303/0.5695, allocations: 7.063 MB / 0.5078 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005811/0.5754, allocations: 1.58 MB / 0.5094 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007479/0.5829, allocations: 2.702 MB / 0.512 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001912/0.5848, allocations: 202.1 kB / 0.5122 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004966/0.5898, allocations: 1.442 MB / 0.5136 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004278/0.5941, allocations: 2.335 MB / 0.5159 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004254/0.5984, allocations: 2.639 MB / 0.5185 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.6122, allocations: 9.261 MB / 0.5275 GB, free: 9.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6123, allocations: 4 kB / 0.5275 GB, free: 9.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.6123, allocations: 0 / 0.5275 GB, free: 9.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000436/0.6128, allocations: 0 / 0.5275 GB, free: 9.684 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01717/0.6299, allocations: 5.384 MB / 0.5328 GB, free: 4.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.63, allocations: 11.97 kB / 0.5328 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.019/0.649, allocations: 2.778 MB / 0.5355 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.6591, allocations: 3.732 MB / 0.5391 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.6595, allocations: 346.2 kB / 0.5395 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.6609, allocations: 435.6 kB / 0.5399 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02634/0.6872, allocations: 13.89 MB / 0.5534 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.6874, allocations: 55.45 kB / 0.5535 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005429/0.688, allocations: 199.8 kB / 0.5537 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003772/0.6918, allocations: 2.402 MB / 0.556 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02498/0.7168, allocations: 11.79 MB / 0.5676 GB, free: 15.64 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07794/0.7947, allocations: 51.83 MB / 0.6182 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/0.8089, allocations: 4.748 MB / 0.6228 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00478/0.8137, allocations: 2.952 MB / 0.6257 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2983/1.112, allocations: 12.85 MB / 0.6382 GB, free: 136 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/1.112, allocations: 59.72 kB / 0.6383 GB, free: 135.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 5.871e-06/1.112, allocations: 0 / 0.6383 GB, free: 135.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1517/1.264, allocations: 43.37 MB / 0.6806 GB, free: 124.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.264, allocations: 232.6 kB / 0.6809 GB, free: 124.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006948/1.271, allocations: 4.798 MB / 0.6856 GB, free: 121.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008794/1.272, allocations: 61.7 kB / 0.6856 GB, free: 121.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002496/1.274, allocations: 3.841 MB / 0.6894 GB, free: 117.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.276, allocations: 0.9328 MB / 0.6903 GB, free: 116.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008551/1.277, allocations: 0.639 MB / 0.6909 GB, free: 115.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/1.277, allocations: 301.1 kB / 0.6912 GB, free: 115.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004735/1.281, allocations: 3.442 MB / 0.6945 GB, free: 112.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006623/1.288, allocations: 7.709 MB / 0.7021 GB, free: 102.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.3, allocations: 11.86 MB / 0.7137 GB, free: 88.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/1.3, allocations: 48 kB / 0.7137 GB, free: 88.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02809/1.328, allocations: 14.48 MB / 0.7278 GB, free: 73.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.328, allocations: 68 kB / 0.7279 GB, free: 73.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.328, allocations: 152 kB / 0.7281 GB, free: 73.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/1.34, allocations: 4.027 MB / 0.732 GB, free: 69.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005482/1.345, allocations: 1.63 MB / 0.7336 GB, free: 68.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/1.369, allocations: 18.69 MB / 0.7518 GB, free: 49.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008784/1.378, allocations: 463.3 kB / 0.7523 GB, free: 48.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/1.38, allocations: 435.9 kB / 0.7527 GB, free: 48.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (884): * Single equations (assignments): 880 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006495/1.386, allocations: 2.656 MB / 0.7553 GB, free: 45.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/1.388, allocations: 427.3 kB / 0.7557 GB, free: 45.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/1.406, allocations: 8.65 MB / 0.7641 GB, free: 36.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.77e-05/1.406, allocations: 24 kB / 0.7642 GB, free: 36.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.017e-05/1.406, allocations: 15.94 kB / 0.7642 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.293e-05/1.406, allocations: 11.97 kB / 0.7642 GB, free: 36.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03338/1.44, allocations: 17.9 MB / 0.7817 GB, free: 18.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-05/1.44, allocations: 4 kB / 0.7817 GB, free: 18.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.442, allocations: 395.4 kB / 0.7821 GB, free: 18.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01213/1.454, allocations: 4.077 MB / 0.786 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007458/1.455, allocations: 47.75 kB / 0.7861 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/1.478, allocations: 17.11 MB / 0.8028 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.478, allocations: 0 / 0.8028 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3159/1.794, allocations: 13.23 MB / 0.8157 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003429/1.797, allocations: 0.9611 MB / 0.8166 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.798, allocations: 42 kB / 0.8167 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00272/1.801, allocations: 209.8 kB / 0.8169 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006752/1.802, allocations: 148.7 kB / 0.817 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002257/1.802, allocations: 67.7 kB / 0.8171 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006104/1.808, allocations: 3.002 MB / 0.82 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.393e-06/1.808, allocations: 2.906 kB / 0.82 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01127/1.82, allocations: 1.49 MB / 0.8215 GB, free: 138.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000866/1.82, allocations: 226.9 kB / 0.8217 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01204/1.833, allocations: 8.265 MB / 0.8298 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.833, allocations: 0 / 0.8298 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004118/1.837, allocations: 3.114 MB / 0.8328 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004559/1.841, allocations: 0.498 MB / 0.8333 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/1.867, allocations: 15.72 MB / 0.8487 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006338/1.874, allocations: 4.103 MB / 0.8527 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007049/1.881, allocations: 2.196 MB / 0.8548 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.882, allocations: 284.3 kB / 0.8551 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.893e-06/1.882, allocations: 0 / 0.8551 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.1013/1.984, allocations: 61.11 MB / 0.9148 GB, free: 83.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches