Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002393/0.002393, allocations: 183.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001144, allocations: 97.22 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.551/0.551, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007635/0.0007639, allocations: 19.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1341, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3743/0.5085, allocations: 41.27 MB / 0.519 GB, free: 21.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02768/0.5363, allocations: 10.52 MB / 0.5293 GB, free: 14.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.5464, allocations: 206.1 kB / 0.5295 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007332/0.5537, allocations: 2.016 MB / 0.5315 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02293/0.5767, allocations: 5.909 MB / 0.5372 GB, free: 10.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005109/0.5819, allocations: 0.9576 MB / 0.5382 GB, free: 10.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03723/0.6192, allocations: 14.84 MB / 0.5527 GB, free: 5.883 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01363/0.6329, allocations: 6.256 MB / 0.5588 GB, free: 3.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.6367, allocations: 1.388 MB / 0.5601 GB, free: 2.477 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004208/0.6409, allocations: 1.905 MB / 0.562 GB, free: 1.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001515/0.6425, allocations: 200 kB / 0.5622 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.6466, allocations: 1.17 MB / 0.5633 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004245/0.6509, allocations: 2.116 MB / 0.5654 GB, free: 13.54 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.6535, allocations: 1.096 MB / 0.5665 GB, free: 12.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.6672, allocations: 7.891 MB / 0.5742 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6673, allocations: 0 / 0.5742 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.6673, allocations: 0 / 0.5742 GB, free: 4.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003253/0.6677, allocations: 0 / 0.5742 GB, free: 4.52 MB / 394.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.02868/0.6964, allocations: 5.751 MB / 0.5798 GB, free: 14.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6964, allocations: 8.031 kB / 0.5798 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1834/0.8798, allocations: 8.665 MB / 0.5883 GB, free: 6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/0.8988, allocations: 4.12 MB / 0.5923 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007574/0.8997, allocations: 353.8 kB / 0.5926 GB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/0.9026, allocations: 431.6 kB / 0.593 GB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04361/0.9462, allocations: 13.97 MB / 0.6067 GB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002766/0.9466, allocations: 55.53 kB / 0.6067 GB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001819/0.9484, allocations: 195.8 kB / 0.6069 GB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006699/0.9552, allocations: 2.414 MB / 0.6093 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04097/0.9962, allocations: 11.81 MB / 0.6208 GB, free: 3.727 MB / 442.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.1158/1.112, allocations: 51.69 MB / 0.6713 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03109/1.143, allocations: 4.681 MB / 0.6758 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4198/1.563, allocations: 12.49 MB / 0.688 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/1.563, allocations: 53.34 kB / 0.6881 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 6.302e-06/1.563, allocations: 3.406 kB / 0.6881 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.2828/1.846, allocations: 42.7 MB / 0.7298 GB, free: 138 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/1.846, allocations: 230.8 kB / 0.73 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.856, allocations: 5.035 MB / 0.7349 GB, free: 136 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007369/1.857, allocations: 62.44 kB / 0.735 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003329/1.861, allocations: 3.788 MB / 0.7387 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001533/1.862, allocations: 0.9092 MB / 0.7396 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008267/1.863, allocations: 142.7 kB / 0.7397 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004196/1.863, allocations: 0.6147 MB / 0.7403 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007831/1.871, allocations: 3.228 MB / 0.7435 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0109/1.882, allocations: 7.494 MB / 0.7508 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.893, allocations: 4.767 MB / 0.7555 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/1.893, allocations: 40 kB / 0.7555 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.04379/1.937, allocations: 13.64 MB / 0.7688 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-05/1.937, allocations: 69.88 kB / 0.7689 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000156/1.937, allocations: 152 kB / 0.769 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02065/1.958, allocations: 3.803 MB / 0.7727 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009258/1.967, allocations: 1.599 MB / 0.7743 GB, free: 99.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04228/2.009, allocations: 18.59 MB / 0.7924 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008579/2.018, allocations: 447.3 kB / 0.7929 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/2.019, allocations: 432.8 kB / 0.7933 GB, free: 79.53 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006143/2.025, allocations: 2.662 MB / 0.7959 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/2.027, allocations: 438.3 kB / 0.7963 GB, free: 76.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02927/2.056, allocations: 8.122 MB / 0.8042 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.118e-05/2.056, allocations: 29.33 kB / 0.8043 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/2.056, allocations: 12 kB / 0.8043 GB, free: 68.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.346e-05/2.056, allocations: 7.969 kB / 0.8043 GB, free: 68.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05422/2.11, allocations: 17.52 MB / 0.8214 GB, free: 50.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/2.11, allocations: 4 kB / 0.8214 GB, free: 50.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003698/2.114, allocations: 391.4 kB / 0.8218 GB, free: 50.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02134/2.136, allocations: 3.833 MB / 0.8255 GB, free: 46.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006254/2.136, allocations: 36.75 kB / 0.8255 GB, free: 46.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04018/2.176, allocations: 17.03 MB / 0.8422 GB, free: 29.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/2.176, allocations: 8 kB / 0.8422 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04045/2.217, allocations: 12.62 MB / 0.8545 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003613/2.221, allocations: 0.9404 MB / 0.8554 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/2.222, allocations: 47.94 kB / 0.8555 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005156/2.228, allocations: 206 kB / 0.8557 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001346/2.229, allocations: 146.3 kB / 0.8558 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/2.229, allocations: 63.38 kB / 0.8559 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008639/2.238, allocations: 3.183 MB / 0.859 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.91e-07/2.238, allocations: 0 / 0.859 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009348/2.247, allocations: 1.461 MB / 0.8604 GB, free: 10.49 MB / 0.4948 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 (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/2.249, allocations: 223.8 kB / 0.8606 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01787/2.266, allocations: 7.849 MB / 0.8683 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/2.266, allocations: 3.938 kB / 0.8683 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.343/2.609, allocations: 2.965 MB / 0.8712 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004715/2.614, allocations: 491.6 kB / 0.8717 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03699/2.651, allocations: 15.45 MB / 0.8867 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00945/2.661, allocations: 4.219 MB / 0.8909 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/2.663, allocations: 342.1 kB / 0.8912 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.704e-06/2.663, allocations: 0 / 0.8912 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.1914/2.854, allocations: 97.14 MB / 0.9861 GB, free: 66.29 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches