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.0009587/0.0009586, allocations: 93.28 kB / 16.98 MB, free: 5.938 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.0009682/0.0009683, allocations: 185.2 kB / 17.88 MB, free: 5.594 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.481/1.481, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005084, allocations: 11.94 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1668, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.03935/0.2062, allocations: 41.23 MB / 0.5007 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3854/0.5917, allocations: 10.51 MB / 0.5109 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01457/0.6063, allocations: 207 kB / 0.5111 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01102/0.6173, allocations: 2.024 MB / 0.5131 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02668/0.6441, allocations: 5.904 MB / 0.5189 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005594/0.6497, allocations: 0.9626 MB / 0.5198 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04192/0.6916, allocations: 25.73 MB / 0.5449 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01364/0.7053, allocations: 6.247 MB / 0.551 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.7106, allocations: 1.395 MB / 0.5524 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005041/0.7156, allocations: 1.89 MB / 0.5542 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.7173, allocations: 200 kB / 0.5544 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004232/0.7215, allocations: 1.182 MB / 0.5556 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004764/0.7263, allocations: 2.107 MB / 0.5576 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003015/0.7294, allocations: 1.095 MB / 0.5587 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.7418, allocations: 7.876 MB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7418, allocations: 0 / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.808e-06/0.7419, allocations: 0 / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004755/0.7423, allocations: 0 / 0.5664 GB, free: 15.68 MB / 414.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.01877/0.7611, allocations: 5.738 MB / 0.572 GB, free: 10.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.7612, allocations: 13.56 kB / 0.572 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09855/0.8597, allocations: 8.656 MB / 0.5805 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/0.8701, allocations: 3.82 MB / 0.5842 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.8704, allocations: 350 kB / 0.5845 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.8723, allocations: 428.2 kB / 0.5849 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/0.9039, allocations: 13.96 MB / 0.5986 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/0.9041, allocations: 59.44 kB / 0.5986 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008719/0.905, allocations: 213.2 kB / 0.5988 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003937/0.909, allocations: 2.397 MB / 0.6012 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0278/0.9368, allocations: 11.82 MB / 0.6127 GB, free: 0.8828 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.07801/1.015, allocations: 51.64 MB / 0.6632 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/1.028, allocations: 4.672 MB / 0.6677 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02211/1.05, allocations: 12.48 MB / 0.6799 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/1.051, allocations: 53.08 kB / 0.68 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=191): time 6.022e-06/1.051, allocations: 0 / 0.68 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=242): time 0.4598/1.51, allocations: 42.55 MB / 0.7215 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1.511, allocations: 229.6 kB / 0.7217 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009136/1.52, allocations: 5.009 MB / 0.7266 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008189/1.521, allocations: 61.55 kB / 0.7267 GB, free: 180 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002888/1.524, allocations: 3.903 MB / 0.7305 GB, free: 177 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/1.525, allocations: 0.9132 MB / 0.7314 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/1.526, allocations: 145.7 kB / 0.7315 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003271/1.526, allocations: 0.6112 MB / 0.7321 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004955/1.531, allocations: 3.227 MB / 0.7353 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007947/1.539, allocations: 7.492 MB / 0.7426 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00665/1.545, allocations: 4.765 MB / 0.7472 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/1.546, allocations: 41.94 kB / 0.7473 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02963/1.575, allocations: 13.8 MB / 0.7608 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.575, allocations: 72 kB / 0.7608 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/1.576, allocations: 148 kB / 0.761 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/1.587, allocations: 3.799 MB / 0.7647 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005976/1.593, allocations: 1.595 MB / 0.7662 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02495/1.618, allocations: 18.59 MB / 0.7844 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008929/1.627, allocations: 447.9 kB / 0.7848 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/1.629, allocations: 433.4 kB / 0.7852 GB, free: 129.4 MB / 0.5294 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.008642/1.637, allocations: 2.649 MB / 0.7878 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.639, allocations: 434.4 kB / 0.7882 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/1.655, allocations: 8.124 MB / 0.7962 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.861e-05/1.655, allocations: 33.41 kB / 0.7962 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.35e-05/1.655, allocations: 12 kB / 0.7962 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.368e-05/1.655, allocations: 15.91 kB / 0.7962 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03546/1.69, allocations: 17.52 MB / 0.8133 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.454e-05/1.691, allocations: 0.875 kB / 0.8133 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/1.693, allocations: 395.4 kB / 0.8137 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01098/1.704, allocations: 3.827 MB / 0.8174 GB, free: 96.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007893/1.704, allocations: 40.78 kB / 0.8175 GB, free: 96.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/1.725, allocations: 17.03 MB / 0.8341 GB, free: 79.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.725, allocations: 0 / 0.8341 GB, free: 79.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/1.747, allocations: 12.63 MB / 0.8464 GB, free: 66.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/1.749, allocations: 471.3 kB / 0.8469 GB, free: 65.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.75, allocations: 44.84 kB / 0.8469 GB, free: 65.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.752, allocations: 205.9 kB / 0.8471 GB, free: 65.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005751/1.753, allocations: 154.9 kB / 0.8473 GB, free: 65.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.753, allocations: 57.09 kB / 0.8473 GB, free: 65.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005897/1.759, allocations: 3.174 MB / 0.8504 GB, free: 62.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.72e-07/1.759, allocations: 0 / 0.8504 GB, free: 62.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009129/1.768, allocations: 1.461 MB / 0.8519 GB, free: 60.87 MB / 0.5294 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.0009315/1.769, allocations: 228.4 kB / 0.8521 GB, free: 60.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.781, allocations: 7.841 MB / 0.8597 GB, free: 52.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.781, allocations: 4.312 kB / 0.8597 GB, free: 52.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003783/1.784, allocations: 2.971 MB / 0.8626 GB, free: 49.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/1.787, allocations: 498.3 kB / 0.8631 GB, free: 49.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/1.811, allocations: 14.79 MB / 0.8776 GB, free: 34.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004313/1.815, allocations: 4.208 MB / 0.8817 GB, free: 30.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005271/1.82, allocations: 2.179 MB / 0.8838 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008539/1.821, allocations: 287.4 kB / 0.8841 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/1.821, allocations: 0 / 0.8841 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.3705/2.192, allocations: 59.29 MB / 0.942 GB, free: 153.6 MB / 0.5294 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