Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 104.1 kB / 17 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001276, allocations: 193.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.18 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 8 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 63.56 MB / 482.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.374/0.5286, allocations: 39.03 MB / 0.5092 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02754/0.5561, allocations: 9.008 MB / 0.518 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.012/0.5682, allocations: 187.9 kB / 0.5182 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009291/0.5775, allocations: 2.008 MB / 0.5201 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02784/0.6054, allocations: 6.057 MB / 0.5261 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00725/0.6127, allocations: 0.8528 MB / 0.5269 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0514/0.6641, allocations: 33.5 MB / 0.5596 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009654/0.6738, allocations: 4.098 MB / 0.5636 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004961/0.6788, allocations: 1.464 MB / 0.565 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005508/0.6843, allocations: 2.336 MB / 0.5673 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.686, allocations: 169.4 kB / 0.5675 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.6902, allocations: 1.082 MB / 0.5685 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003925/0.6942, allocations: 1.941 MB / 0.5704 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003327/0.6975, allocations: 0.9166 MB / 0.5713 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009855/0.7074, allocations: 6.098 MB / 0.5773 GB, free: 5.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7075, allocations: 0 / 0.5773 GB, free: 5.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7075, allocations: 0 / 0.5773 GB, free: 5.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003699/0.7078, allocations: 0 / 0.5773 GB, free: 5.371 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01453/0.7224, allocations: 4.818 MB / 0.582 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.7225, allocations: 12.03 kB / 0.582 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.7379, allocations: 2.666 MB / 0.5846 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008712/0.7467, allocations: 3.038 MB / 0.5876 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004157/0.7471, allocations: 257.7 kB / 0.5878 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.749, allocations: 347.3 kB / 0.5881 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02807/0.7771, allocations: 12.35 MB / 0.6002 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/0.7774, allocations: 59.44 kB / 0.6003 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007611/0.7782, allocations: 169.3 kB / 0.6004 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00403/0.7822, allocations: 2.384 MB / 0.6028 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/0.8075, allocations: 10.82 MB / 0.6133 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07766/0.8852, allocations: 48.8 MB / 0.661 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/0.901, allocations: 6.043 MB / 0.6669 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004934/0.906, allocations: 3.292 MB / 0.6701 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02469/0.9307, allocations: 13.51 MB / 0.6833 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.706e-05/0.9308, allocations: 55.81 kB / 0.6833 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=204): time 5.37e-06/0.9309, allocations: 0 / 0.6833 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=265): time 0.4011/1.332, allocations: 36.38 MB / 0.7189 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/1.332, allocations: 206.5 kB / 0.7191 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007248/1.339, allocations: 4.338 MB / 0.7233 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007893/1.34, allocations: 65.12 kB / 0.7234 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002392/1.343, allocations: 3.376 MB / 0.7267 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/1.344, allocations: 0.9883 MB / 0.7276 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/1.345, allocations: 136.9 kB / 0.7278 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003506/1.345, allocations: 0.5995 MB / 0.7283 GB, free: 172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004723/1.35, allocations: 3.262 MB / 0.7315 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006624/1.356, allocations: 7.173 MB / 0.7385 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007167/1.364, allocations: 4.703 MB / 0.7431 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.364, allocations: 38.38 kB / 0.7432 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02949/1.393, allocations: 13.22 MB / 0.7561 GB, free: 154 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.589e-05/1.393, allocations: 65.88 kB / 0.7561 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/1.394, allocations: 136 kB / 0.7563 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008479/1.402, allocations: 3.43 MB / 0.7596 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/1.407, allocations: 1.575 MB / 0.7612 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/1.427, allocations: 16.37 MB / 0.7771 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006559/1.434, allocations: 430.2 kB / 0.7776 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.435, allocations: 414.5 kB / 0.7779 GB, free: 131.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,60.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005613/1.441, allocations: 2.348 MB / 0.7802 GB, free: 129.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/1.442, allocations: 405.3 kB / 0.7806 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/1.458, allocations: 7.983 MB / 0.7884 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-05/1.459, allocations: 28.55 kB / 0.7885 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.455e-05/1.459, allocations: 12 kB / 0.7885 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.103e-05/1.459, allocations: 16.78 kB / 0.7885 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03168/1.49, allocations: 15.52 MB / 0.8036 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.705e-05/1.491, allocations: 4 kB / 0.8036 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.493, allocations: 383.4 kB / 0.804 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008154/1.501, allocations: 3.173 MB / 0.8071 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006317/1.501, allocations: 47.98 kB / 0.8071 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/1.52, allocations: 14.65 MB / 0.8215 GB, free: 86.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.52, allocations: 4 kB / 0.8215 GB, free: 86.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/1.541, allocations: 12.12 MB / 0.8333 GB, free: 74.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002168/1.543, allocations: 455.7 kB / 0.8337 GB, free: 74.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002096/1.545, allocations: 41.17 kB / 0.8338 GB, free: 74.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/1.548, allocations: 183.7 kB / 0.8339 GB, free: 73.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008687/1.549, allocations: 162.2 kB / 0.8341 GB, free: 73.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004442/1.55, allocations: 65.17 kB / 0.8342 GB, free: 73.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00566/1.555, allocations: 2.705 MB / 0.8368 GB, free: 70.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.81e-07/1.555, allocations: 0 / 0.8368 GB, free: 70.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009513/1.565, allocations: 1.35 MB / 0.8381 GB, free: 69.61 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * 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 {(5,60.0%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001317/1.566, allocations: 180.6 kB / 0.8383 GB, free: 69.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0147/1.581, allocations: 8.146 MB / 0.8462 GB, free: 61.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.581, allocations: 0 / 0.8462 GB, free: 61.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005805/1.587, allocations: 3.303 MB / 0.8495 GB, free: 57.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005967/1.593, allocations: 481.3 kB / 0.8499 GB, free: 57.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/1.618, allocations: 13.84 MB / 0.8635 GB, free: 43.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006304/1.624, allocations: 3.672 MB / 0.867 GB, free: 39.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006558/1.631, allocations: 2.18 MB / 0.8692 GB, free: 37.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/1.632, allocations: 283.4 kB / 0.8694 GB, free: 37.48 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/1.632, allocations: 0 / 0.8694 GB, free: 37.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.3782/2.011, allocations: 55.71 MB / 0.9238 GB, free: 161.7 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches