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.0009849/0.0009849, allocations: 96.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 205.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002756, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1618, allocations: 63.46 MB / 481.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03645/0.1983, allocations: 37.12 MB / 0.5064 GB, free: 184 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2925/0.4908, allocations: 9.499 MB / 0.5156 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009832/0.5007, allocations: 185 kB / 0.5158 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009477/0.5102, allocations: 1.809 MB / 0.5176 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02613/0.5363, allocations: 5.398 MB / 0.5228 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.5401, allocations: 0.8361 MB / 0.5237 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0356/0.5757, allocations: 25.6 MB / 0.5487 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007091/0.5829, allocations: 4.074 MB / 0.5526 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.5857, allocations: 1.218 MB / 0.5538 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.5885, allocations: 1.685 MB / 0.5555 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006994/0.5892, allocations: 172 kB / 0.5556 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.5918, allocations: 1.052 MB / 0.5567 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001975/0.5938, allocations: 1.824 MB / 0.5584 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.595, allocations: 0.9323 MB / 0.5594 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008094/0.6031, allocations: 6.307 MB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6032, allocations: 0 / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6032, allocations: 0 / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002905/0.6035, allocations: 3.938 kB / 0.5655 GB, free: 0.543 MB / 398.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.01403/0.6175, allocations: 5.191 MB / 0.5706 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6176, allocations: 12.03 kB / 0.5706 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08488/0.7025, allocations: 8.466 MB / 0.5789 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.7133, allocations: 3.291 MB / 0.5821 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.7136, allocations: 252.2 kB / 0.5823 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/0.7155, allocations: 354.9 kB / 0.5827 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02497/0.7405, allocations: 12.46 MB / 0.5948 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/0.7407, allocations: 55.53 kB / 0.5949 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005637/0.7413, allocations: 161.6 kB / 0.595 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004164/0.7455, allocations: 2.377 MB / 0.5974 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02492/0.7704, allocations: 10.87 MB / 0.608 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06973/0.8402, allocations: 48.93 MB / 0.6558 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01613/0.8564, allocations: 5.949 MB / 0.6616 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02242/0.8789, allocations: 13.13 MB / 0.6744 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.879, allocations: 51.88 kB / 0.6744 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=193): time 5.831e-06/0.879, allocations: 0 / 0.6744 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.1181/0.9971, allocations: 39.54 MB / 0.7131 GB, free: 7.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.9973, allocations: 205.9 kB / 0.7133 GB, free: 6.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007221/1.005, allocations: 4.594 MB / 0.7177 GB, free: 2.242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009401/1.006, allocations: 65.7 kB / 0.7178 GB, free: 2.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.3014/1.307, allocations: 3.427 MB / 0.7212 GB, free: 196.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002312/1.309, allocations: 0.9501 MB / 0.7221 GB, free: 196.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/1.311, allocations: 137.1 kB / 0.7222 GB, free: 196.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0009337/1.312, allocations: 0.5889 MB / 0.7228 GB, free: 195.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008697/1.32, allocations: 3.09 MB / 0.7258 GB, free: 195.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/1.332, allocations: 6.992 MB / 0.7326 GB, free: 189.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/1.344, allocations: 4.53 MB / 0.7371 GB, free: 187.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004805/1.345, allocations: 38.62 kB / 0.7371 GB, free: 187.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03064/1.376, allocations: 12.61 MB / 0.7494 GB, free: 183.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003199/1.376, allocations: 68.28 kB / 0.7495 GB, free: 183.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003876/1.376, allocations: 135.7 kB / 0.7496 GB, free: 183.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008983/1.385, allocations: 3.272 MB / 0.7528 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005423/1.391, allocations: 1.542 MB / 0.7543 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/1.412, allocations: 16.07 MB / 0.77 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006031/1.418, allocations: 431.4 kB / 0.7704 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001438/1.42, allocations: 409.3 kB / 0.7708 GB, free: 169.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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 (808): * Single equations (assignments): 804 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00516/1.425, allocations: 2.342 MB / 0.7731 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.426, allocations: 406.7 kB / 0.7735 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.44, allocations: 7.52 MB / 0.7808 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-05/1.44, allocations: 28 kB / 0.7808 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.17e-05/1.44, allocations: 8 kB / 0.7809 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.053e-05/1.44, allocations: 15.95 kB / 0.7809 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02901/1.469, allocations: 15.19 MB / 0.7957 GB, free: 144 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.872e-05/1.469, allocations: 11.95 kB / 0.7957 GB, free: 143.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/1.472, allocations: 383.4 kB / 0.7961 GB, free: 143.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007936/1.48, allocations: 2.924 MB / 0.7989 GB, free: 140.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000884/1.48, allocations: 45.47 kB / 0.799 GB, free: 140.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/1.498, allocations: 14.3 MB / 0.8129 GB, free: 126.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.498, allocations: 0 / 0.8129 GB, free: 126.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/1.516, allocations: 11.54 MB / 0.8242 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.518, allocations: 459.8 kB / 0.8246 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/1.519, allocations: 39.28 kB / 0.8247 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/1.521, allocations: 191.7 kB / 0.8249 GB, free: 113.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006094/1.522, allocations: 149.8 kB / 0.825 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002779/1.522, allocations: 56.88 kB / 0.8251 GB, free: 113.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004544/1.527, allocations: 2.918 MB / 0.8279 GB, free: 110.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/1.527, allocations: 0 / 0.8279 GB, free: 110.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006879/1.534, allocations: 1.333 MB / 0.8292 GB, free: 109.4 MB / 0.545 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 (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008331/1.535, allocations: 186 kB / 0.8294 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.546, allocations: 7.794 MB / 0.837 GB, free: 101.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.546, allocations: 0 / 0.837 GB, free: 101.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004437/1.551, allocations: 3.12 MB / 0.8401 GB, free: 98.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.554, allocations: 463.2 kB / 0.8405 GB, free: 97.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.576, allocations: 13.59 MB / 0.8538 GB, free: 84.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004601/1.581, allocations: 3.775 MB / 0.8575 GB, free: 80.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004947/1.586, allocations: 2.173 MB / 0.8596 GB, free: 78.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008972/1.587, allocations: 287.4 kB / 0.8598 GB, free: 77.95 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/1.587, allocations: 0 / 0.8598 GB, free: 77.95 MB / 0.545 GB Notification: Performance of Templates: time 0.07938/1.666, allocations: 54.89 MB / 0.9135 GB, free: 23.28 MB / 0.545 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches