Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 108.8 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3286/0.3286, allocations: 44.14 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 48.11 kB / 457.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3249, allocations: 60.8 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.03434/0.3593, allocations: 48.2 MB / 0.5535 GB, free: 3.762 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02327/0.3826, allocations: 10.71 MB / 0.5639 GB, free: 12.61 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01099/0.3936, allocations: 209.7 kB / 0.5641 GB, free: 12.58 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00781/0.4015, allocations: 3.995 MB / 0.568 GB, free: 10.71 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008762/0.4104, allocations: 2.058 MB / 0.57 GB, free: 9.801 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.4138, allocations: 1.078 MB / 0.5711 GB, free: 9.348 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01333/0.4272, allocations: 8.303 MB / 0.5792 GB, free: 5.445 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007603/0.4348, allocations: 5.066 MB / 0.5841 GB, free: 320 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/0.439, allocations: 1.931 MB / 0.586 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005076/0.4441, allocations: 3.131 MB / 0.5891 GB, free: 11.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00152/0.4457, allocations: 344 kB / 0.5894 GB, free: 10.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.4498, allocations: 1.595 MB / 0.591 GB, free: 9.301 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003477/0.4533, allocations: 2.532 MB / 0.5934 GB, free: 6.762 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004679/0.458, allocations: 2.866 MB / 0.5962 GB, free: 3.879 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009819/0.4678, allocations: 9.545 MB / 0.6056 GB, free: 10.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4679, allocations: 0 / 0.6056 GB, free: 10.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4679, allocations: 4 kB / 0.6056 GB, free: 10.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002748/0.4682, allocations: 0 / 0.6056 GB, free: 10.3 MB / 426.7 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.01333/0.4815, allocations: 6.523 MB / 0.6119 GB, free: 3.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4816, allocations: 8.031 kB / 0.6119 GB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/0.4981, allocations: 2.723 MB / 0.6146 GB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009254/0.5074, allocations: 3.619 MB / 0.6181 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/0.5078, allocations: 346.2 kB / 0.6185 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001604/0.5094, allocations: 443.5 kB / 0.6189 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02496/0.5343, allocations: 13.85 MB / 0.6324 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/0.5345, allocations: 51.53 kB / 0.6325 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005857/0.5351, allocations: 203.8 kB / 0.6327 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004215/0.5394, allocations: 2.402 MB / 0.635 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02485/0.5642, allocations: 11.76 MB / 0.6465 GB, free: 15.36 MB / 474.7 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.3137/0.878, allocations: 51.78 MB / 0.697 GB, free: 97.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.8892, allocations: 4.737 MB / 0.7017 GB, free: 96.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003407/0.8926, allocations: 2.956 MB / 0.7046 GB, free: 95.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/0.9115, allocations: 12.86 MB / 0.7171 GB, free: 88.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.9116, allocations: 57.62 kB / 0.7172 GB, free: 88.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=197): time 5.701e-06/0.9116, allocations: 0 / 0.7172 GB, free: 88.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.143/1.055, allocations: 43.41 MB / 0.7596 GB, free: 67.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/1.055, allocations: 234.8 kB / 0.7598 GB, free: 67.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006087/1.061, allocations: 4.77 MB / 0.7644 GB, free: 62.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006101/1.062, allocations: 65.7 kB / 0.7645 GB, free: 62.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/1.063, allocations: 3.834 MB / 0.7682 GB, free: 58.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008511/1.064, allocations: 0.9337 MB / 0.7692 GB, free: 57.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/1.066, allocations: 1.507 MB / 0.7706 GB, free: 56.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.063e-05/1.066, allocations: 305.2 kB / 0.7709 GB, free: 55.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004072/1.07, allocations: 3.446 MB / 0.7743 GB, free: 52.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005484/1.076, allocations: 7.699 MB / 0.7818 GB, free: 42.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.086, allocations: 11.87 MB / 0.7934 GB, free: 28.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/1.087, allocations: 44 kB / 0.7934 GB, free: 28.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02713/1.114, allocations: 14.47 MB / 0.8076 GB, free: 14.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/1.114, allocations: 68 kB / 0.8076 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/1.114, allocations: 159.9 kB / 0.8078 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/1.126, allocations: 4.017 MB / 0.8117 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/1.131, allocations: 1.634 MB / 0.8133 GB, free: 8.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02596/1.157, allocations: 18.69 MB / 0.8316 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006212/1.163, allocations: 459.4 kB / 0.832 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.164, allocations: 432 kB / 0.8324 GB, free: 4.773 MB / 0.4948 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.004478/1.169, allocations: 2.66 MB / 0.835 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009251/1.17, allocations: 429.8 kB / 0.8354 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/1.189, allocations: 8.651 MB / 0.8439 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.878e-05/1.189, allocations: 24 kB / 0.8439 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/1.189, allocations: 12 kB / 0.8439 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-05/1.189, allocations: 11.97 kB / 0.8439 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03731/1.226, allocations: 17.89 MB / 0.8614 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/1.226, allocations: 7.984 kB / 0.8614 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/1.228, allocations: 399.4 kB / 0.8618 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01266/1.241, allocations: 4.069 MB / 0.8658 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004628/1.242, allocations: 47.92 kB / 0.8658 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02492/1.266, allocations: 17.11 MB / 0.8825 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.266, allocations: 0 / 0.8825 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5031/1.77, allocations: 124.4 MB / 1.004 GB, free: 96.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.771, allocations: 466.3 kB / 1.004 GB, free: 95.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.772, allocations: 41.8 kB / 1.005 GB, free: 95.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002999/1.775, allocations: 211.7 kB / 1.005 GB, free: 95.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008142/1.776, allocations: 150.2 kB / 1.005 GB, free: 95.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002996/1.776, allocations: 59.98 kB / 1.005 GB, free: 95.33 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00384/1.78, allocations: 2.985 MB / 1.008 GB, free: 92.35 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.31e-07/1.78, allocations: 3.938 kB / 1.008 GB, free: 92.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008317/1.788, allocations: 2.088 MB / 1.01 GB, free: 90.27 MB / 0.5417 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.0007502/1.789, allocations: 230.2 kB / 1.01 GB, free: 90.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.8, allocations: 8.255 MB / 1.018 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.8, allocations: 0 / 1.018 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00388/1.804, allocations: 3.113 MB / 1.021 GB, free: 78.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/1.807, allocations: 0.4939 MB / 1.022 GB, free: 78.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/1.83, allocations: 17.62 MB / 1.039 GB, free: 60.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004644/1.835, allocations: 4.193 MB / 1.043 GB, free: 56.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005316/1.84, allocations: 2.233 MB / 1.045 GB, free: 54.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.841, allocations: 299.4 kB / 1.045 GB, free: 53.79 MB / 0.5417 GB Notification: Performance of SimCode: time 8.82e-07/1.841, allocations: 0 / 1.045 GB, free: 53.79 MB / 0.5417 GB Notification: Performance of Templates: time 0.4222/2.264, allocations: 95.14 MB / 1.138 GB, free: 147 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches