Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 94.3 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.0009519/0.0009524, allocations: 182.2 kB / 17.87 MB, free: 5.598 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.556/1.556, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004306, allocations: 12 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1738, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03888/0.2127, allocations: 37.1 MB / 0.4966 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.317/0.5297, allocations: 9.462 MB / 0.5059 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009433/0.5392, allocations: 189.7 kB / 0.5061 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009224/0.5485, allocations: 1.805 MB / 0.5078 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02435/0.5728, allocations: 5.412 MB / 0.5131 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.5773, allocations: 0.8343 MB / 0.5139 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03645/0.6138, allocations: 25.11 MB / 0.5384 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007527/0.6213, allocations: 4.084 MB / 0.5424 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.6247, allocations: 1.212 MB / 0.5436 GB, free: 184 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003249/0.628, allocations: 1.692 MB / 0.5453 GB, free: 15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.6293, allocations: 168 kB / 0.5454 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.6328, allocations: 1.073 MB / 0.5465 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003054/0.6359, allocations: 1.819 MB / 0.5482 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.6381, allocations: 0.9324 MB / 0.5492 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008293/0.6464, allocations: 6.3 MB / 0.5553 GB, free: 6.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6465, allocations: 0 / 0.5553 GB, free: 6.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6465, allocations: 4 kB / 0.5553 GB, free: 6.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003415/0.6468, allocations: 0 / 0.5553 GB, free: 6.891 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.01529/0.6621, allocations: 5.179 MB / 0.5604 GB, free: 2.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.6622, allocations: 8.031 kB / 0.5604 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08999/0.7522, allocations: 8.472 MB / 0.5687 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.763, allocations: 3.288 MB / 0.5719 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/0.7635, allocations: 257 kB / 0.5721 GB, free: 7.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002944/0.7665, allocations: 350.5 kB / 0.5724 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03351/0.8, allocations: 12.46 MB / 0.5846 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004272/0.8005, allocations: 53.89 kB / 0.5847 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002097/0.8026, allocations: 165.1 kB / 0.5848 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004511/0.8072, allocations: 2.379 MB / 0.5871 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02351/0.8307, allocations: 10.88 MB / 0.5978 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06716/0.8979, allocations: 48.92 MB / 0.6455 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/0.9136, allocations: 5.963 MB / 0.6514 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02287/0.9365, allocations: 13.13 MB / 0.6642 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/0.9366, allocations: 57.89 kB / 0.6642 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 3.998e-06/0.9366, allocations: 0 / 0.6642 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.1186/1.055, allocations: 39.53 MB / 0.7028 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/1.055, allocations: 209.9 kB / 0.703 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3213/1.377, allocations: 4.591 MB / 0.7075 GB, free: 187.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.378, allocations: 60.86 kB / 0.7076 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004717/1.382, allocations: 3.428 MB / 0.7109 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002186/1.385, allocations: 0.9468 MB / 0.7119 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007104/1.385, allocations: 136.3 kB / 0.712 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005196/1.386, allocations: 0.589 MB / 0.7126 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0062/1.392, allocations: 3.091 MB / 0.7156 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/1.404, allocations: 6.994 MB / 0.7224 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009256/1.413, allocations: 4.529 MB / 0.7268 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002261/1.413, allocations: 39.97 kB / 0.7269 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02904/1.442, allocations: 12.61 MB / 0.7392 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/1.442, allocations: 68.05 kB / 0.7393 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002475/1.443, allocations: 136.3 kB / 0.7394 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009596/1.452, allocations: 3.271 MB / 0.7426 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005912/1.458, allocations: 1.54 MB / 0.7441 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02036/1.479, allocations: 16.07 MB / 0.7598 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008775/1.488, allocations: 435.3 kB / 0.7602 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/1.49, allocations: 409.3 kB / 0.7606 GB, free: 156.3 MB / 0.5294 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.007104/1.497, allocations: 2.34 MB / 0.7629 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/1.499, allocations: 410.7 kB / 0.7633 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.513, allocations: 7.504 MB / 0.7706 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.961e-05/1.513, allocations: 33.05 kB / 0.7706 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/1.513, allocations: 8 kB / 0.7706 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.187e-05/1.513, allocations: 15.95 kB / 0.7706 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02869/1.542, allocations: 15.2 MB / 0.7855 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.286e-05/1.542, allocations: 4.875 kB / 0.7855 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.544, allocations: 383.4 kB / 0.7859 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008096/1.552, allocations: 2.931 MB / 0.7887 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005861/1.553, allocations: 47.94 kB / 0.7888 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/1.57, allocations: 14.3 MB / 0.8027 GB, free: 113 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.57, allocations: 4 kB / 0.8027 GB, free: 113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/1.587, allocations: 11.54 MB / 0.814 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/1.589, allocations: 463.7 kB / 0.8144 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008363/1.59, allocations: 46.39 kB / 0.8145 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/1.592, allocations: 192.2 kB / 0.8147 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004869/1.592, allocations: 146.5 kB / 0.8148 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.592, allocations: 61.41 kB / 0.8149 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004412/1.597, allocations: 2.911 MB / 0.8177 GB, free: 97.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.597, allocations: 4 kB / 0.8177 GB, free: 97.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006854/1.604, allocations: 1.345 MB / 0.819 GB, free: 96.18 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 (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.0006313/1.604, allocations: 183.3 kB / 0.8192 GB, free: 95.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.616, allocations: 7.793 MB / 0.8268 GB, free: 88.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.616, allocations: 8 kB / 0.8268 GB, free: 88.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004525/1.621, allocations: 3.116 MB / 0.8299 GB, free: 85.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.624, allocations: 469.4 kB / 0.8303 GB, free: 84.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/1.645, allocations: 13.58 MB / 0.8436 GB, free: 71.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00415/1.649, allocations: 3.767 MB / 0.8472 GB, free: 67.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005344/1.655, allocations: 2.176 MB / 0.8494 GB, free: 65.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.656, allocations: 291.4 kB / 0.8497 GB, free: 64.75 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/1.656, allocations: 0 / 0.8497 GB, free: 64.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.3368/1.993, allocations: 54.99 MB / 0.9034 GB, free: 173.8 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches