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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 115 kB / 17.33 MB, free: 6.016 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.002031/0.002031, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 241.9 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 44.18 MB / 336.3 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 68.67 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1459, allocations: 60.82 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3423/0.4882, allocations: 48.19 MB / 0.5048 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02452/0.5128, allocations: 10.59 MB / 0.5151 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01317/0.526, allocations: 210.9 kB / 0.5153 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007783/0.5338, allocations: 3.848 MB / 0.5191 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007647/0.5416, allocations: 2.045 MB / 0.5211 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.545, allocations: 1.118 MB / 0.5222 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00991/0.555, allocations: 5.932 MB / 0.528 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006237/0.5612, allocations: 5.455 MB / 0.5333 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.565, allocations: 2.233 MB / 0.5355 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004092/0.5691, allocations: 3.259 MB / 0.5387 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.5703, allocations: 0.4996 MB / 0.5392 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.5742, allocations: 1.692 MB / 0.5408 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003396/0.5776, allocations: 2.693 MB / 0.5434 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0047/0.5824, allocations: 3.044 MB / 0.5464 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.5953, allocations: 9.73 MB / 0.5559 GB, free: 0 / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5954, allocations: 0 / 0.5559 GB, free: 0 / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5954, allocations: 0 / 0.5559 GB, free: 0 / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003299/0.5957, allocations: 0 / 0.5559 GB, free: 0 / 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.01696/0.6127, allocations: 6.531 MB / 0.5623 GB, free: 9.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6128, allocations: 8.031 kB / 0.5623 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/0.6302, allocations: 2.708 MB / 0.5649 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009421/0.6396, allocations: 3.628 MB / 0.5685 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/0.6401, allocations: 350.1 kB / 0.5688 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/0.6423, allocations: 435.6 kB / 0.5692 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02679/0.6691, allocations: 13.85 MB / 0.5828 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001607/0.6693, allocations: 55.52 kB / 0.5828 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006415/0.6699, allocations: 208.6 kB / 0.583 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003696/0.6736, allocations: 2.406 MB / 0.5854 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02513/0.6988, allocations: 11.75 MB / 0.5968 GB, free: 5.5 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.07498/0.7738, allocations: 51.78 MB / 0.6474 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.7865, allocations: 4.741 MB / 0.652 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003971/0.7905, allocations: 2.957 MB / 0.6549 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01824/0.8087, allocations: 12.85 MB / 0.6675 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.8088, allocations: 59.8 kB / 0.6675 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 4.86e-06/0.8088, allocations: 7.938 kB / 0.6675 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.4403/1.249, allocations: 43.4 MB / 0.7099 GB, free: 203.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.249, allocations: 236.5 kB / 0.7101 GB, free: 203 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008588/1.258, allocations: 4.771 MB / 0.7148 GB, free: 202.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007171/1.259, allocations: 61.48 kB / 0.7149 GB, free: 202 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002618/1.261, allocations: 3.842 MB / 0.7186 GB, free: 199.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.263, allocations: 0.9274 MB / 0.7195 GB, free: 199 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002374/1.265, allocations: 1.511 MB / 0.721 GB, free: 198.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/1.265, allocations: 313.4 kB / 0.7213 GB, free: 198 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006287/1.271, allocations: 3.438 MB / 0.7246 GB, free: 196.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008178/1.28, allocations: 7.707 MB / 0.7322 GB, free: 189.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/1.292, allocations: 11.87 MB / 0.7438 GB, free: 180.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002265/1.293, allocations: 44.53 kB / 0.7438 GB, free: 180.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0292/1.322, allocations: 14.47 MB / 0.7579 GB, free: 175.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.322, allocations: 78.81 kB / 0.758 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/1.322, allocations: 150.2 kB / 0.7582 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/1.334, allocations: 4.027 MB / 0.7621 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005271/1.339, allocations: 1.63 MB / 0.7637 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/1.362, allocations: 19.86 MB / 0.7831 GB, free: 150.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007981/1.37, allocations: 455.4 kB / 0.7835 GB, free: 149.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.372, allocations: 436 kB / 0.7839 GB, free: 149.5 MB / 0.545 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.004688/1.377, allocations: 2.656 MB / 0.7865 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.378, allocations: 430.4 kB / 0.7869 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/1.394, allocations: 8.652 MB / 0.7954 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-05/1.394, allocations: 24 kB / 0.7954 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/1.394, allocations: 12.75 kB / 0.7954 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.485e-05/1.395, allocations: 13.08 kB / 0.7954 GB, free: 137.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03184/1.426, allocations: 17.9 MB / 0.8129 GB, free: 119.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/1.426, allocations: 0 / 0.8129 GB, free: 119.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/1.429, allocations: 399.4 kB / 0.8133 GB, free: 119.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01116/1.44, allocations: 4.084 MB / 0.8173 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00059/1.44, allocations: 43.98 kB / 0.8173 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02127/1.462, allocations: 18.21 MB / 0.8351 GB, free: 96.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.462, allocations: 0 / 0.8351 GB, free: 96.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02201/1.484, allocations: 13.23 MB / 0.848 GB, free: 83.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/1.485, allocations: 467.5 kB / 0.8485 GB, free: 83.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/1.487, allocations: 44.06 kB / 0.8485 GB, free: 83.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/1.49, allocations: 211.7 kB / 0.8487 GB, free: 82.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007717/1.491, allocations: 143.5 kB / 0.8488 GB, free: 82.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/1.491, allocations: 67.98 kB / 0.8489 GB, free: 82.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003982/1.495, allocations: 2.977 MB / 0.8518 GB, free: 79.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.495, allocations: 0 / 0.8518 GB, free: 79.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007499/1.502, allocations: 1.502 MB / 0.8533 GB, free: 78.25 MB / 0.545 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.0008345/1.503, allocations: 222.8 kB / 0.8535 GB, free: 78.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01463/1.518, allocations: 10.02 MB / 0.8633 GB, free: 68.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.518, allocations: 3.938 kB / 0.8633 GB, free: 68.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003882/1.522, allocations: 3.116 MB / 0.8663 GB, free: 64.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/1.526, allocations: 0.529 MB / 0.8668 GB, free: 64.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/1.546, allocations: 15.63 MB / 0.8821 GB, free: 48.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004325/1.55, allocations: 4.091 MB / 0.8861 GB, free: 44.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005197/1.556, allocations: 2.206 MB / 0.8883 GB, free: 42.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.557, allocations: 279.4 kB / 0.8885 GB, free: 42.14 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/1.557, allocations: 0 / 0.8885 GB, free: 42.14 MB / 0.545 GB Notification: Performance of Templates: time 0.3377/1.894, allocations: 64.66 MB / 0.9517 GB, free: 172.5 MB / 0.545 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches