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.001272/0.001272, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1957/0.1957, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01235/0.3291, allocations: 11.95 MB / 0.5433 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009292/0.3384, allocations: 4.378 MB / 0.5476 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.3405, allocations: 70.62 kB / 0.5477 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00475/0.3453, allocations: 2.763 MB / 0.5504 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.3502, allocations: 2.053 MB / 0.5524 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.3523, allocations: 1.006 MB / 0.5534 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006576/0.3589, allocations: 5.362 MB / 0.5586 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00405/0.363, allocations: 3.448 MB / 0.562 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.3656, allocations: 1.744 MB / 0.5637 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.3689, allocations: 2.442 MB / 0.566 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009018/0.3698, allocations: 368 kB / 0.5664 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.3723, allocations: 1.4 MB / 0.5678 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001946/0.3743, allocations: 2.205 MB / 0.5699 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.3766, allocations: 2.47 MB / 0.5723 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007755/0.3844, allocations: 8.01 MB / 0.5802 GB, free: 15.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3844, allocations: 4 kB / 0.5802 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3844, allocations: 0 / 0.5802 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001585/0.3846, allocations: 0 / 0.5802 GB, free: 15.88 MB / 446.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.01132/0.3959, allocations: 5.73 MB / 0.5858 GB, free: 10.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.396, allocations: 8.031 kB / 0.5858 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.4103, allocations: 2.592 MB / 0.5883 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/0.4169, allocations: 3.154 MB / 0.5914 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.4171, allocations: 254.8 kB / 0.5916 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009545/0.4181, allocations: 355.8 kB / 0.592 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/0.4367, allocations: 12.36 MB / 0.604 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.4368, allocations: 55.53 kB / 0.6041 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004142/0.4373, allocations: 163.8 kB / 0.6042 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003376/0.4406, allocations: 2.381 MB / 0.6066 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.4595, allocations: 10.84 MB / 0.6171 GB, free: 9.031 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05138/0.5109, allocations: 48.59 MB / 0.6646 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.5249, allocations: 6.045 MB / 0.6705 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003865/0.5288, allocations: 3.31 MB / 0.6737 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01804/0.5469, allocations: 13.5 MB / 0.6869 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.5469, allocations: 51.88 kB / 0.687 GB, free: 15.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 4.719e-06/0.547, allocations: 7.938 kB / 0.687 GB, free: 15.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.3101/0.8571, allocations: 36.29 MB / 0.7224 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.8572, allocations: 213.2 kB / 0.7226 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005368/0.8626, allocations: 4.361 MB / 0.7269 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004756/0.8631, allocations: 61.58 kB / 0.7269 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.8646, allocations: 3.375 MB / 0.7302 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000804/0.8654, allocations: 0.9938 MB / 0.7312 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/0.867, allocations: 1.418 MB / 0.7326 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.605e-05/0.867, allocations: 307.1 kB / 0.7329 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/0.8706, allocations: 3.281 MB / 0.7361 GB, free: 159 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00456/0.8752, allocations: 7.206 MB / 0.7431 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008673/0.8839, allocations: 11.24 MB / 0.7541 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-05/0.884, allocations: 40 kB / 0.7541 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.01902/0.903, allocations: 13.27 MB / 0.7671 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.9031, allocations: 64.19 kB / 0.7672 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-05/0.9032, allocations: 140 kB / 0.7673 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008074/0.9113, allocations: 3.402 MB / 0.7706 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004401/0.9157, allocations: 1.576 MB / 0.7721 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.9339, allocations: 17.54 MB / 0.7893 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004829/0.9388, allocations: 435.1 kB / 0.7897 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005831/0.9394, allocations: 411.9 kB / 0.7901 GB, free: 105.7 MB / 0.5606 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 (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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002642/0.942, allocations: 2.349 MB / 0.7924 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006209/0.9426, allocations: 398.8 kB / 0.7928 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.9551, allocations: 8.002 MB / 0.8006 GB, free: 94.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/0.9551, allocations: 32 kB / 0.8006 GB, free: 94.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.9552, allocations: 12 kB / 0.8006 GB, free: 94.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.9552, allocations: 11.95 kB / 0.8006 GB, free: 94.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/0.9766, allocations: 15.37 MB / 0.8156 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.9766, allocations: 0 / 0.8156 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.9783, allocations: 391.4 kB / 0.816 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007694/0.986, allocations: 3.161 MB / 0.8191 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003484/0.9864, allocations: 47.98 kB / 0.8191 GB, free: 75.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.003, allocations: 15.82 MB / 0.8346 GB, free: 59.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.003, allocations: 256 / 0.8346 GB, free: 59.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.019, allocations: 12.14 MB / 0.8465 GB, free: 47.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009224/1.02, allocations: 447.8 kB / 0.8469 GB, free: 47.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/1.021, allocations: 51.98 kB / 0.8469 GB, free: 47.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.022, allocations: 191.7 kB / 0.8471 GB, free: 46.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004513/1.023, allocations: 150.2 kB / 0.8473 GB, free: 46.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/1.023, allocations: 64 kB / 0.8473 GB, free: 46.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002917/1.026, allocations: 2.729 MB / 0.85 GB, free: 44.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.026, allocations: 0 / 0.85 GB, free: 44.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004489/1.031, allocations: 1.358 MB / 0.8513 GB, free: 42.68 MB / 0.5606 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 (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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004026/1.031, allocations: 176.2 kB / 0.8515 GB, free: 42.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009483/1.04, allocations: 8.213 MB / 0.8595 GB, free: 34.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.041, allocations: 0 / 0.8595 GB, free: 34.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003904/1.044, allocations: 3.323 MB / 0.8627 GB, free: 30.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/1.047, allocations: 0.4999 MB / 0.8632 GB, free: 30.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/1.062, allocations: 12.34 MB / 0.8753 GB, free: 18.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/1.065, allocations: 3.65 MB / 0.8788 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.067, allocations: 335.4 kB / 0.8792 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.067, allocations: 0 / 0.8792 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.33/1.397, allocations: 92.84 MB / 0.9698 GB, free: 206.8 MB / 0.6231 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches