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.001471/0.001471, allocations: 101.9 kB / 15.98 MB, free: 6.355 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.001265/0.001265, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.792/1.792, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.4365/0.4364, allocations: 43.51 MB / 313.6 MB, free: 8.539 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.001392/0.001392, allocations: 67.91 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1588, allocations: 57.78 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3697/0.5285, allocations: 48.23 MB / 488.2 MB, free: 20.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03125/0.5598, allocations: 10.6 MB / 498.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01436/0.5742, allocations: 207.8 kB / 499 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007438/0.5817, allocations: 3.851 MB / 0.4911 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007609/0.5894, allocations: 2.05 MB / 0.4931 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.5928, allocations: 1.108 MB / 0.4942 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01116/0.604, allocations: 5.705 MB / 0.4998 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009983/0.614, allocations: 5.451 MB / 0.5051 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006838/0.6209, allocations: 2.238 MB / 0.5073 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008033/0.629, allocations: 3.273 MB / 0.5105 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003603/0.6326, allocations: 0.5005 MB / 0.5109 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007867/0.6405, allocations: 1.668 MB / 0.5126 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006571/0.6471, allocations: 2.708 MB / 0.5152 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01042/0.6576, allocations: 3.05 MB / 0.5182 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.6727, allocations: 9.73 MB / 0.5277 GB, free: 7.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.6727, allocations: 0 / 0.5277 GB, free: 7.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6728, allocations: 4 kB / 0.5277 GB, free: 7.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003877/0.6732, allocations: 4 kB / 0.5277 GB, free: 7.43 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.01983/0.693, allocations: 6.534 MB / 0.5341 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.6931, allocations: 15.89 kB / 0.5341 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.7096, allocations: 2.716 MB / 0.5368 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009958/0.7196, allocations: 3.728 MB / 0.5404 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/0.7201, allocations: 350.4 kB / 0.5407 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002557/0.7227, allocations: 435.5 kB / 0.5411 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03123/0.754, allocations: 13.85 MB / 0.5547 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.7542, allocations: 55.52 kB / 0.5547 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005959/0.7548, allocations: 203.8 kB / 0.5549 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004175/0.759, allocations: 2.402 MB / 0.5573 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02791/0.7869, allocations: 11.75 MB / 0.5687 GB, free: 12.38 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.07763/0.8646, allocations: 51.79 MB / 0.6193 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/0.8787, allocations: 4.746 MB / 0.624 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.311/1.19, allocations: 2.951 MB / 0.6268 GB, free: 139.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01905/1.209, allocations: 12.85 MB / 0.6394 GB, free: 134.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.891e-05/1.209, allocations: 58.53 kB / 0.6394 GB, free: 134.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=197): time 6.793e-06/1.209, allocations: 2.812 kB / 0.6394 GB, free: 134.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=248): time 0.1519/1.361, allocations: 43.46 MB / 0.6819 GB, free: 122.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/1.361, allocations: 232.7 kB / 0.6821 GB, free: 122.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00782/1.369, allocations: 4.793 MB / 0.6868 GB, free: 119.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001151/1.37, allocations: 65.3 kB / 0.6868 GB, free: 119.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003188/1.373, allocations: 3.844 MB / 0.6906 GB, free: 115.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/1.375, allocations: 0.9311 MB / 0.6915 GB, free: 115 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002624/1.378, allocations: 1.516 MB / 0.693 GB, free: 113.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/1.378, allocations: 301.1 kB / 0.6933 GB, free: 113.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004629/1.383, allocations: 3.442 MB / 0.6966 GB, free: 109.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006075/1.389, allocations: 7.711 MB / 0.7042 GB, free: 99.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.4, allocations: 11.87 MB / 0.7158 GB, free: 86.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.401, allocations: 44 kB / 0.7158 GB, free: 86.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0322/1.433, allocations: 14.48 MB / 0.7299 GB, free: 71.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/1.433, allocations: 68 kB / 0.73 GB, free: 71.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003024/1.433, allocations: 152.8 kB / 0.7302 GB, free: 71.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01262/1.446, allocations: 4.033 MB / 0.7341 GB, free: 67.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006002/1.452, allocations: 1.63 MB / 0.7357 GB, free: 65.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02578/1.478, allocations: 19.86 MB / 0.7551 GB, free: 45.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008351/1.486, allocations: 451.4 kB / 0.7555 GB, free: 45.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/1.488, allocations: 440 kB / 0.7559 GB, free: 44.8 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.004951/1.493, allocations: 2.653 MB / 0.7585 GB, free: 42.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/1.494, allocations: 434.4 kB / 0.7589 GB, free: 41.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/1.51, allocations: 8.641 MB / 0.7674 GB, free: 33.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-05/1.51, allocations: 31.94 kB / 0.7674 GB, free: 33.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/1.51, allocations: 12 kB / 0.7674 GB, free: 33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.47e-05/1.51, allocations: 11.95 kB / 0.7674 GB, free: 32.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03152/1.542, allocations: 17.9 MB / 0.7849 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/1.542, allocations: 12 kB / 0.7849 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/1.544, allocations: 395.4 kB / 0.7853 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/1.555, allocations: 4.08 MB / 0.7893 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005764/1.555, allocations: 47.92 kB / 0.7893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/1.579, allocations: 18.21 MB / 0.8071 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.579, allocations: 4.797 kB / 0.8071 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.354/1.934, allocations: 13.22 MB / 0.82 GB, free: 140.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003864/1.937, allocations: 0.9675 MB / 0.821 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/1.939, allocations: 40.75 kB / 0.821 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002712/1.941, allocations: 212.1 kB / 0.8212 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/1.942, allocations: 149 kB / 0.8213 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.942, allocations: 65.12 kB / 0.8214 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005461/1.948, allocations: 2.999 MB / 0.8243 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.948, allocations: 0 / 0.8243 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008236/1.956, allocations: 1.496 MB / 0.8258 GB, free: 139.3 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.0007655/1.957, allocations: 223.4 kB / 0.826 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01771/1.975, allocations: 10.02 MB / 0.8358 GB, free: 136.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.975, allocations: 0 / 0.8358 GB, free: 136.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005816/1.981, allocations: 3.108 MB / 0.8388 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006919/1.988, allocations: 0.5239 MB / 0.8393 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/2.021, allocations: 15.67 MB / 0.8547 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008734/2.03, allocations: 4.104 MB / 0.8587 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006399/2.036, allocations: 2.198 MB / 0.8608 GB, free: 125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/2.037, allocations: 283.3 kB / 0.8611 GB, free: 125 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/2.037, allocations: 0 / 0.8611 GB, free: 125 MB / 0.4981 GB Notification: Performance of Templates: time 0.0997/2.137, allocations: 64.74 MB / 0.9243 GB, free: 73.27 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