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.00148/0.001487, allocations: 114.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 70.86 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1149, allocations: 62.46 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01152/0.1265, allocations: 11.93 MB / 493.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007861/0.1344, allocations: 4.382 MB / 497.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.1359, allocations: 75.81 kB / 497.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004853/0.1407, allocations: 2.756 MB / 0.4889 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.1459, allocations: 1.996 MB / 0.4908 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.148, allocations: 1.002 MB / 0.4918 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006513/0.1545, allocations: 5.373 MB / 0.4971 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00444/0.1589, allocations: 3.428 MB / 0.5004 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/0.1626, allocations: 1.74 MB / 0.5021 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004128/0.1668, allocations: 2.449 MB / 0.5045 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.1682, allocations: 368 kB / 0.5048 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2278/0.3961, allocations: 1.386 MB / 0.5062 GB, free: 18.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00401/0.4001, allocations: 2.179 MB / 0.5083 GB, free: 18.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005946/0.4061, allocations: 2.478 MB / 0.5108 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.418, allocations: 8.007 MB / 0.5186 GB, free: 16.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.418, allocations: 0 / 0.5186 GB, free: 16.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.418, allocations: 2.875 kB / 0.5186 GB, free: 16.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000329/0.4184, allocations: 0 / 0.5186 GB, free: 16.45 MB / 382.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.01691/0.4353, allocations: 5.731 MB / 0.5242 GB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.4353, allocations: 12.91 kB / 0.5242 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/0.4518, allocations: 2.594 MB / 0.5267 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008432/0.4602, allocations: 3.151 MB / 0.5298 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.4605, allocations: 255.1 kB / 0.53 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.462, allocations: 348.1 kB / 0.5304 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/0.483, allocations: 12.36 MB / 0.5424 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/0.4833, allocations: 56.02 kB / 0.5425 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004846/0.4837, allocations: 173.7 kB / 0.5427 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00329/0.487, allocations: 2.375 MB / 0.545 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02034/0.5074, allocations: 10.84 MB / 0.5556 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06467/0.5721, allocations: 48.59 MB / 0.603 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/0.5876, allocations: 6.055 MB / 0.6089 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004312/0.5919, allocations: 3.294 MB / 0.6121 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02186/0.6138, allocations: 13.51 MB / 0.6253 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.6139, allocations: 55.86 kB / 0.6254 GB, free: 0.707 MB / 462.1 MB Notification: Performance of pre-optimization done (n=204): time 4.118e-06/0.6139, allocations: 0 / 0.6254 GB, free: 0.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.1106/0.7245, allocations: 36.29 MB / 0.6608 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.7246, allocations: 205.9 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006349/0.731, allocations: 4.361 MB / 0.6653 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007544/0.7318, allocations: 65.7 kB / 0.6654 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002264/0.734, allocations: 3.378 MB / 0.6687 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.7354, allocations: 0.988 MB / 0.6696 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002185/0.7376, allocations: 1.42 MB / 0.671 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.7377, allocations: 301.1 kB / 0.6713 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00497/0.7427, allocations: 3.285 MB / 0.6745 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008008/0.7507, allocations: 7.2 MB / 0.6815 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/0.7646, allocations: 11.23 MB / 0.6925 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.652e-05/0.7647, allocations: 38.62 kB / 0.6925 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.2464/1.011, allocations: 13.28 MB / 0.7055 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.011, allocations: 63.47 kB / 0.7056 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002456/1.012, allocations: 135.2 kB / 0.7057 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/1.022, allocations: 3.401 MB / 0.709 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006012/1.028, allocations: 1.576 MB / 0.7106 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02374/1.052, allocations: 17.56 MB / 0.7277 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006363/1.058, allocations: 431.9 kB / 0.7281 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/1.06, allocations: 409.4 kB / 0.7285 GB, free: 168.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 (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.00624/1.066, allocations: 2.351 MB / 0.7308 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.067, allocations: 399.3 kB / 0.7312 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/1.083, allocations: 8.003 MB / 0.739 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.146e-05/1.083, allocations: 24.94 kB / 0.739 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.928e-05/1.083, allocations: 12 kB / 0.739 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.858e-05/1.083, allocations: 18.92 kB / 0.739 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02747/1.11, allocations: 15.46 MB / 0.7541 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/1.11, allocations: 0 / 0.7541 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/1.112, allocations: 387.4 kB / 0.7545 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008512/1.121, allocations: 3.168 MB / 0.7576 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007284/1.122, allocations: 45.34 kB / 0.7577 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.141, allocations: 15.77 MB / 0.773 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.141, allocations: 0 / 0.773 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/1.16, allocations: 12.13 MB / 0.7849 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.161, allocations: 452.8 kB / 0.7853 GB, free: 115.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.163, allocations: 47.88 kB / 0.7854 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/1.165, allocations: 192.8 kB / 0.7856 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006021/1.166, allocations: 150.2 kB / 0.7857 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/1.166, allocations: 68.92 kB / 0.7858 GB, free: 115 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003873/1.17, allocations: 2.729 MB / 0.7884 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.193e-06/1.17, allocations: 0 / 0.7884 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00642/1.176, allocations: 1.347 MB / 0.7897 GB, free: 110.9 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 (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.0005478/1.177, allocations: 183.9 kB / 0.7899 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.188, allocations: 8.209 MB / 0.7979 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.188, allocations: 4.188 kB / 0.7979 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004093/1.192, allocations: 3.315 MB / 0.8012 GB, free: 99.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/1.195, allocations: 0.5044 MB / 0.8017 GB, free: 98.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/1.215, allocations: 11.85 MB / 0.8132 GB, free: 86.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003773/1.219, allocations: 3.666 MB / 0.8168 GB, free: 83.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004299/1.223, allocations: 2.172 MB / 0.8189 GB, free: 81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009217/1.224, allocations: 291.4 kB / 0.8192 GB, free: 80.71 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/1.224, allocations: 0 / 0.8192 GB, free: 80.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.07868/1.303, allocations: 54.58 MB / 0.8725 GB, free: 26.45 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 -s gbode -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