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.001562/0.001562, allocations: 105.2 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.771/1.771, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2357/0.2357, allocations: 43.51 MB / 313.9 MB, free: 0.5469 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.001604/0.001605, allocations: 63.78 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1437, allocations: 57.79 MB / 440.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01384/0.1576, allocations: 13.31 MB / 453.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1704, allocations: 4.841 MB / 458.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003604/0.174, allocations: 79.81 kB / 458.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008399/0.1824, allocations: 3.995 MB / 462.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007741/0.1903, allocations: 2.19 MB / 464.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.194, allocations: 1.193 MB / 466.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009055/0.2031, allocations: 5.568 MB / 471.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008482/0.2116, allocations: 5.178 MB / 476.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004746/0.2164, allocations: 2.189 MB / 479.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006262/0.2227, allocations: 2.968 MB / 482 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002767/0.2256, allocations: 0.5 MB / 482.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004863/0.2305, allocations: 1.658 MB / 484.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00447/0.235, allocations: 2.661 MB / 486.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007439/0.2424, allocations: 3.022 MB / 489.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0156/0.2581, allocations: 9.678 MB / 499.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.2581, allocations: 0 / 499.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.2582, allocations: 4 kB / 499.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004912/0.2587, allocations: 0 / 499.6 MB, free: 11.65 MB / 382.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.02297/0.2816, allocations: 6.531 MB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.2817, allocations: 11.89 kB / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01903/0.3008, allocations: 2.716 MB / 0.4969 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.311, allocations: 3.728 MB / 0.5005 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000481/0.3115, allocations: 350.2 kB / 0.5009 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002607/0.3142, allocations: 431.7 kB / 0.5013 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0305/0.3447, allocations: 13.85 MB / 0.5148 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/0.345, allocations: 55.53 kB / 0.5148 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001558/0.3465, allocations: 203.8 kB / 0.515 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003942/0.3505, allocations: 2.402 MB / 0.5174 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02697/0.3775, allocations: 11.77 MB / 0.5289 GB, free: 0.6016 MB / 414.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.3485/0.726, allocations: 51.79 MB / 0.5794 GB, free: 43.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01878/0.7449, allocations: 4.747 MB / 0.5841 GB, free: 41.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006444/0.7514, allocations: 2.952 MB / 0.587 GB, free: 38.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02973/0.7812, allocations: 12.86 MB / 0.5995 GB, free: 25.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.032e-05/0.7814, allocations: 55.81 kB / 0.5996 GB, free: 25.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=197): time 1.212e-05/0.7814, allocations: 0 / 0.5996 GB, free: 25.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=248): time 0.1885/0.9699, allocations: 43.44 MB / 0.642 GB, free: 13.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.9701, allocations: 239.6 kB / 0.6422 GB, free: 13.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/0.9804, allocations: 4.794 MB / 0.6469 GB, free: 8.891 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009086/0.9814, allocations: 61.7 kB / 0.647 GB, free: 8.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004521/0.9859, allocations: 3.842 MB / 0.6507 GB, free: 4.949 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002231/0.9882, allocations: 0.9332 MB / 0.6516 GB, free: 4.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00372/0.9919, allocations: 1.519 MB / 0.6531 GB, free: 2.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9921, allocations: 301.1 kB / 0.6534 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006949/0.9991, allocations: 3.446 MB / 0.6568 GB, free: 14.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/1.012, allocations: 7.703 MB / 0.6643 GB, free: 4.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02321/1.035, allocations: 11.87 MB / 0.6759 GB, free: 6.984 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002406/1.035, allocations: 44 kB / 0.6759 GB, free: 6.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.04121/1.076, allocations: 14.47 MB / 0.6901 GB, free: 8.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003142/1.077, allocations: 71.94 kB / 0.6901 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003967/1.077, allocations: 148 kB / 0.6903 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01368/1.091, allocations: 4.038 MB / 0.6942 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006185/1.097, allocations: 1.634 MB / 0.6958 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03044/1.127, allocations: 19.85 MB / 0.7152 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007531/1.135, allocations: 455.3 kB / 0.7156 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/1.137, allocations: 444 kB / 0.716 GB, free: 13.66 MB / 0.5137 GB 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.007084/1.144, allocations: 2.661 MB / 0.7186 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/1.146, allocations: 430.4 kB / 0.7191 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02169/1.168, allocations: 8.644 MB / 0.7275 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-05/1.168, allocations: 28 kB / 0.7275 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/1.168, allocations: 16 kB / 0.7275 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.587e-05/1.168, allocations: 11.95 kB / 0.7275 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3303/1.498, allocations: 17.89 MB / 0.745 GB, free: 176.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.744e-05/1.498, allocations: 1.125 kB / 0.745 GB, free: 176.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/1.501, allocations: 401.9 kB / 0.7454 GB, free: 176.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01292/1.514, allocations: 4.082 MB / 0.7494 GB, free: 175.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008601/1.515, allocations: 46 kB / 0.7494 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/1.539, allocations: 18.22 MB / 0.7672 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.539, allocations: 2.531 kB / 0.7672 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02409/1.564, allocations: 13.22 MB / 0.7801 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003267/1.567, allocations: 0.9602 MB / 0.7811 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00238/1.569, allocations: 36 kB / 0.7811 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003801/1.573, allocations: 219.7 kB / 0.7813 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008846/1.574, allocations: 150.2 kB / 0.7815 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004149/1.574, allocations: 63.98 kB / 0.7815 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007026/1.581, allocations: 2.997 MB / 0.7845 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.6e-07/1.581, allocations: 0 / 0.7845 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009861/1.591, allocations: 1.502 MB / 0.7859 GB, free: 146.8 MB / 0.5137 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.001048/1.592, allocations: 221.2 kB / 0.7861 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01619/1.609, allocations: 10.01 MB / 0.7959 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.609, allocations: 0 / 0.7959 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004561/1.613, allocations: 3.116 MB / 0.799 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00511/1.618, allocations: 0.5317 MB / 0.7995 GB, free: 133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/1.644, allocations: 13.03 MB / 0.8122 GB, free: 120.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006068/1.65, allocations: 4.103 MB / 0.8162 GB, free: 116 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005997/1.656, allocations: 2.196 MB / 0.8184 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008377/1.657, allocations: 283.4 kB / 0.8186 GB, free: 113.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.813e-06/1.657, allocations: 0 / 0.8186 GB, free: 113.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.097/1.754, allocations: 64.78 MB / 0.8819 GB, free: 48.84 MB / 0.5137 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches