Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 175.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.7 MB / 243.9 MB, free: 8.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008054/0.0008056, allocations: 92.08 kB / 295 MB, free: 9.504 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3161/0.3161, allocations: 44.33 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 19.94 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3268, allocations: 61.91 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.03205/0.3589, allocations: 43.8 MB / 0.5555 GB, free: 6.902 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02555/0.3845, allocations: 13.82 MB / 0.569 GB, free: 11.86 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0103/0.3949, allocations: 211.9 kB / 0.5692 GB, free: 11.82 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.3969, allocations: 0.5108 MB / 0.5697 GB, free: 11.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005862/0.4028, allocations: 2.072 MB / 0.5717 GB, free: 10.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.4058, allocations: 1.081 MB / 0.5728 GB, free: 10.26 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01646/0.4223, allocations: 8.271 MB / 0.5809 GB, free: 7.277 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01257/0.4349, allocations: 8.457 MB / 0.5891 GB, free: 14.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.4396, allocations: 1.735 MB / 0.5908 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005138/0.4448, allocations: 2.671 MB / 0.5934 GB, free: 9.945 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.4462, allocations: 200 kB / 0.5936 GB, free: 9.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.4505, allocations: 1.424 MB / 0.595 GB, free: 8.324 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003516/0.4541, allocations: 2.29 MB / 0.5972 GB, free: 6.027 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004118/0.4582, allocations: 2.629 MB / 0.5998 GB, free: 3.375 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.4699, allocations: 9.273 MB / 0.6089 GB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.47, allocations: 7.938 kB / 0.6089 GB, free: 10.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.47, allocations: 0 / 0.6089 GB, free: 10.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003447/0.4704, allocations: 0 / 0.6089 GB, free: 10.06 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.01415/0.4845, allocations: 5.372 MB / 0.6141 GB, free: 4.613 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.4846, allocations: 8.031 kB / 0.6141 GB, free: 4.605 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/0.501, allocations: 2.778 MB / 0.6168 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00864/0.5096, allocations: 3.63 MB / 0.6204 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.5101, allocations: 358 kB / 0.6207 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.5116, allocations: 431.7 kB / 0.6211 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/0.5371, allocations: 13.85 MB / 0.6347 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/0.5373, allocations: 59.53 kB / 0.6347 GB, free: 14.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006693/0.538, allocations: 195.8 kB / 0.6349 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00377/0.5417, allocations: 2.406 MB / 0.6373 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/0.5667, allocations: 11.74 MB / 0.6487 GB, free: 224 kB / 458.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.3025/0.8693, allocations: 51.79 MB / 0.6993 GB, free: 97.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.8802, allocations: 4.744 MB / 0.7039 GB, free: 96.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003398/0.8836, allocations: 2.951 MB / 0.7068 GB, free: 95.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01583/0.8995, allocations: 12.86 MB / 0.7194 GB, free: 88.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.8996, allocations: 53.31 kB / 0.7194 GB, free: 88.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=197): time 5.761e-06/0.8996, allocations: 0 / 0.7194 GB, free: 88.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.1304/1.03, allocations: 43.3 MB / 0.7617 GB, free: 66.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/1.03, allocations: 235.7 kB / 0.7619 GB, free: 66.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005482/1.036, allocations: 4.731 MB / 0.7666 GB, free: 61.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003956/1.036, allocations: 66.56 kB / 0.7666 GB, free: 61.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/1.037, allocations: 3.84 MB / 0.7704 GB, free: 57.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006421/1.038, allocations: 0.9343 MB / 0.7713 GB, free: 56.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/1.038, allocations: 151.6 kB / 0.7714 GB, free: 56.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002543/1.039, allocations: 0.6161 MB / 0.772 GB, free: 55.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/1.042, allocations: 3.423 MB / 0.7754 GB, free: 52.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005175/1.048, allocations: 7.674 MB / 0.7829 GB, free: 42.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.058, allocations: 11.83 MB / 0.7944 GB, free: 28.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.169e-05/1.058, allocations: 44 kB / 0.7945 GB, free: 28.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02427/1.082, allocations: 14.42 MB / 0.8085 GB, free: 14.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/1.082, allocations: 68 kB / 0.8086 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.082, allocations: 152 kB / 0.8088 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/1.093, allocations: 4.029 MB / 0.8127 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005257/1.099, allocations: 1.63 MB / 0.8143 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/1.124, allocations: 18.66 MB / 0.8325 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006273/1.131, allocations: 463.3 kB / 0.8329 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/1.132, allocations: 435.9 kB / 0.8334 GB, free: 4.789 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.005083/1.137, allocations: 2.654 MB / 0.836 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009967/1.138, allocations: 430.4 kB / 0.8364 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/1.156, allocations: 8.633 MB / 0.8448 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.297e-05/1.157, allocations: 24 kB / 0.8448 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.13e-05/1.157, allocations: 12 kB / 0.8448 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.008e-05/1.157, allocations: 11.97 kB / 0.8448 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03559/1.192, allocations: 17.89 MB / 0.8623 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/1.192, allocations: 4 kB / 0.8623 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/1.194, allocations: 396.8 kB / 0.8627 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/1.207, allocations: 4.073 MB / 0.8667 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006233/1.208, allocations: 43.94 kB / 0.8667 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02427/1.232, allocations: 17.09 MB / 0.8834 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.232, allocations: 0 / 0.8834 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3103/1.542, allocations: 13.2 MB / 0.8963 GB, free: 175 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.544, allocations: 474.9 kB / 0.8968 GB, free: 174.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008248/1.544, allocations: 39.62 kB / 0.8968 GB, free: 174.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.547, allocations: 215.2 kB / 0.897 GB, free: 174.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006699/1.547, allocations: 147.4 kB / 0.8971 GB, free: 174.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.548, allocations: 60.86 kB / 0.8972 GB, free: 174.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004076/1.552, allocations: 2.953 MB / 0.9001 GB, free: 173.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.944e-06/1.552, allocations: 0 / 0.9001 GB, free: 173.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006288/1.558, allocations: 1.497 MB / 0.9015 GB, free: 173.6 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.0006324/1.559, allocations: 226.4 kB / 0.9018 GB, free: 173.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.571, allocations: 8.223 MB / 0.9098 GB, free: 170.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.571, allocations: 1.062 kB / 0.9098 GB, free: 170.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00435/1.575, allocations: 3.104 MB / 0.9128 GB, free: 169.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004566/1.58, allocations: 0.5001 MB / 0.9133 GB, free: 168.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02621/1.606, allocations: 15.69 MB / 0.9286 GB, free: 160.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007224/1.613, allocations: 4.101 MB / 0.9326 GB, free: 159.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006152/1.619, allocations: 2.191 MB / 0.9348 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.62, allocations: 282.8 kB / 0.935 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/1.62, allocations: 4 kB / 0.935 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.09169/1.712, allocations: 61.05 MB / 0.9947 GB, free: 105.4 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/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