Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009383/0.0009383, allocations: 193.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008831/0.0008832, allocations: 99.59 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3022/0.3022, allocations: 45 MB / 397 MB, free: 31.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 8 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3067, allocations: 63.1 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.03664/0.3434, allocations: 43.82 MB / 0.5642 GB, free: 7.414 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02337/0.3668, allocations: 14.22 MB / 0.578 GB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009462/0.3763, allocations: 210.2 kB / 0.5783 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.3784, allocations: 0.5061 MB / 0.5787 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00674/0.3852, allocations: 2.065 MB / 0.5808 GB, free: 9.293 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.3888, allocations: 1.088 MB / 0.5818 GB, free: 8.203 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.3995, allocations: 8.377 MB / 0.59 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.4103, allocations: 8.453 MB / 0.5983 GB, free: 6.906 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.4138, allocations: 1.732 MB / 0.6 GB, free: 5.168 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/0.4183, allocations: 2.671 MB / 0.6026 GB, free: 2.488 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.4199, allocations: 200 kB / 0.6027 GB, free: 2.293 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004195/0.4241, allocations: 1.412 MB / 0.6041 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003284/0.4274, allocations: 2.294 MB / 0.6064 GB, free: 14.58 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004192/0.4317, allocations: 2.633 MB / 0.6089 GB, free: 11.92 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4429, allocations: 9.265 MB / 0.618 GB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4429, allocations: 0 / 0.618 GB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4429, allocations: 0 / 0.618 GB, free: 2.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003007/0.4432, allocations: 0 / 0.618 GB, free: 2.625 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.01348/0.4567, allocations: 5.392 MB / 0.6233 GB, free: 13.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4568, allocations: 8.031 kB / 0.6233 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01521/0.472, allocations: 2.774 MB / 0.626 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007848/0.4799, allocations: 3.568 MB / 0.6295 GB, free: 6.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.4802, allocations: 362 kB / 0.6298 GB, free: 6.367 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.4815, allocations: 423.7 kB / 0.6302 GB, free: 5.953 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02483/0.5064, allocations: 13.86 MB / 0.6437 GB, free: 7.234 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/0.5066, allocations: 55.53 kB / 0.6438 GB, free: 7.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005634/0.5072, allocations: 199.8 kB / 0.644 GB, free: 6.984 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00345/0.5106, allocations: 2.41 MB / 0.6463 GB, free: 4.574 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/0.5334, allocations: 11.74 MB / 0.6578 GB, free: 8.824 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.3363/0.8697, allocations: 51.8 MB / 0.7084 GB, free: 98.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.8817, allocations: 4.725 MB / 0.713 GB, free: 96.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004467/0.8862, allocations: 2.948 MB / 0.7159 GB, free: 95.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02006/0.9063, allocations: 12.87 MB / 0.7284 GB, free: 88.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.9064, allocations: 57.88 kB / 0.7285 GB, free: 88.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=197): time 5.55e-06/0.9064, allocations: 0 / 0.7285 GB, free: 88.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.1277/1.034, allocations: 43.29 MB / 0.7708 GB, free: 57.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/1.034, allocations: 243.6 kB / 0.771 GB, free: 57.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005432/1.04, allocations: 4.731 MB / 0.7756 GB, free: 52.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004941/1.04, allocations: 65.7 kB / 0.7757 GB, free: 52.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/1.042, allocations: 3.839 MB / 0.7794 GB, free: 48.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.043, allocations: 0.9308 MB / 0.7803 GB, free: 47.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/1.043, allocations: 148 kB / 0.7805 GB, free: 47.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002673/1.043, allocations: 0.6164 MB / 0.7811 GB, free: 46.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004136/1.048, allocations: 3.419 MB / 0.7844 GB, free: 43.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005796/1.053, allocations: 7.676 MB / 0.7919 GB, free: 33.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/1.064, allocations: 11.83 MB / 0.8035 GB, free: 19.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/1.064, allocations: 44 kB / 0.8035 GB, free: 19.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02578/1.09, allocations: 14.43 MB / 0.8176 GB, free: 5.156 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.352e-05/1.09, allocations: 68 kB / 0.8177 GB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/1.09, allocations: 152 kB / 0.8178 GB, free: 4.941 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/1.101, allocations: 4.021 MB / 0.8217 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005078/1.106, allocations: 1.63 MB / 0.8233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02808/1.134, allocations: 18.68 MB / 0.8416 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005841/1.14, allocations: 459.3 kB / 0.842 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009047/1.141, allocations: 435.7 kB / 0.8424 GB, free: 11.59 MB / 0.5105 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.004181/1.145, allocations: 2.657 MB / 0.845 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007221/1.146, allocations: 426.5 kB / 0.8454 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/1.164, allocations: 8.632 MB / 0.8539 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.978e-05/1.164, allocations: 28 kB / 0.8539 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/1.164, allocations: 15.94 kB / 0.8539 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.782e-05/1.164, allocations: 11.97 kB / 0.8539 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03334/1.197, allocations: 17.89 MB / 0.8714 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/1.198, allocations: 0 / 0.8714 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.2, allocations: 399.4 kB / 0.8718 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01177/1.211, allocations: 4.073 MB / 0.8757 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004514/1.212, allocations: 47.92 kB / 0.8758 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3057/1.518, allocations: 17.09 MB / 0.8925 GB, free: 176.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.518, allocations: 2.594 kB / 0.8925 GB, free: 176.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02407/1.542, allocations: 13.2 MB / 0.9054 GB, free: 172.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.543, allocations: 470.7 kB / 0.9058 GB, free: 172.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.545, allocations: 40.02 kB / 0.9059 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002569/1.547, allocations: 219.1 kB / 0.9061 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008501/1.548, allocations: 159 kB / 0.9062 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.548, allocations: 60.64 kB / 0.9063 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006998/1.555, allocations: 2.949 MB / 0.9092 GB, free: 171.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/1.555, allocations: 0 / 0.9092 GB, free: 171.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008582/1.564, allocations: 1.493 MB / 0.9106 GB, free: 171.1 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.0008848/1.565, allocations: 231.1 kB / 0.9108 GB, free: 171 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.578, allocations: 8.223 MB / 0.9189 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.578, allocations: 0 / 0.9189 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004179/1.582, allocations: 3.1 MB / 0.9219 GB, free: 166.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/1.586, allocations: 0.4948 MB / 0.9224 GB, free: 166.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.606, allocations: 15.68 MB / 0.9377 GB, free: 157 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003948/1.61, allocations: 4.103 MB / 0.9417 GB, free: 153.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005704/1.616, allocations: 2.196 MB / 0.9438 GB, free: 151.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009169/1.616, allocations: 279.4 kB / 0.9441 GB, free: 151.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.653e-06/1.616, allocations: 0 / 0.9441 GB, free: 151.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.09218/1.709, allocations: 61.06 MB / 1.004 GB, free: 90.71 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches