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.001218/0.001217, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001318/0.001318, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.404/1.404, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2111/0.2111, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 60.84 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01288/0.1219, allocations: 11.96 MB / 481.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008942/0.1309, allocations: 4.363 MB / 486.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.1332, allocations: 75.75 kB / 486.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005502/0.1388, allocations: 2.753 MB / 489.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.1444, allocations: 2.039 MB / 491.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.1469, allocations: 1.01 MB / 492.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007866/0.1548, allocations: 5.294 MB / 497.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005203/0.1601, allocations: 3.44 MB / 0.4891 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003674/0.1638, allocations: 1.748 MB / 0.4908 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004311/0.1681, allocations: 2.442 MB / 0.4932 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.1697, allocations: 371.9 kB / 0.4936 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.1734, allocations: 1.416 MB / 0.495 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00326/0.1767, allocations: 2.194 MB / 0.4971 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003852/0.1806, allocations: 2.505 MB / 0.4995 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2415/0.4221, allocations: 7.801 MB / 0.5072 GB, free: 23.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.4222, allocations: 0 / 0.5072 GB, free: 23.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4222, allocations: 1.062 kB / 0.5072 GB, free: 23.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003923/0.4226, allocations: 0 / 0.5072 GB, free: 23.93 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.01692/0.4395, allocations: 5.757 MB / 0.5128 GB, free: 21.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4396, allocations: 8.5 kB / 0.5128 GB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01896/0.4586, allocations: 2.597 MB / 0.5153 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009354/0.468, allocations: 3.146 MB / 0.5184 GB, free: 20.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.4683, allocations: 259 kB / 0.5187 GB, free: 20.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/0.4704, allocations: 349.6 kB / 0.519 GB, free: 20.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02591/0.4963, allocations: 12.36 MB / 0.5311 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/0.4965, allocations: 52.89 kB / 0.5311 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006679/0.4972, allocations: 167.4 kB / 0.5313 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00368/0.5009, allocations: 2.379 MB / 0.5336 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.5222, allocations: 10.83 MB / 0.5442 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06395/0.5862, allocations: 48.8 MB / 0.5918 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/0.603, allocations: 6.045 MB / 0.5977 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004752/0.6078, allocations: 3.295 MB / 0.6009 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.022/0.6298, allocations: 13.52 MB / 0.6142 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.451e-05/0.6299, allocations: 58.95 kB / 0.6142 GB, free: 14.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=204): time 6.182e-06/0.63, allocations: 0 / 0.6142 GB, free: 14.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.1145/0.7444, allocations: 36.3 MB / 0.6497 GB, free: 9.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.7446, allocations: 209.9 kB / 0.6499 GB, free: 9.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00732/0.7519, allocations: 4.363 MB / 0.6541 GB, free: 5.098 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008889/0.7529, allocations: 65.7 kB / 0.6542 GB, free: 5.027 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002847/0.7557, allocations: 3.372 MB / 0.6575 GB, free: 1.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001873/0.7576, allocations: 0.9908 MB / 0.6584 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002655/0.7603, allocations: 1.42 MB / 0.6598 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7604, allocations: 305.1 kB / 0.6601 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005922/0.7663, allocations: 3.285 MB / 0.6633 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/0.7768, allocations: 7.206 MB / 0.6704 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01775/0.7946, allocations: 11.24 MB / 0.6813 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001786/0.7949, allocations: 40 kB / 0.6814 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.04658/0.8415, allocations: 13.27 MB / 0.6943 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.8419, allocations: 67.94 kB / 0.6944 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003822/0.8423, allocations: 136 kB / 0.6945 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01699/0.8593, allocations: 3.406 MB / 0.6979 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009362/0.8687, allocations: 1.575 MB / 0.6994 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2841/1.153, allocations: 17.56 MB / 0.7165 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006241/1.159, allocations: 434.5 kB / 0.717 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.16, allocations: 412.7 kB / 0.7174 GB, free: 179.8 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.00421/1.165, allocations: 2.339 MB / 0.7196 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009179/1.166, allocations: 400.6 kB / 0.72 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/1.18, allocations: 8.012 MB / 0.7278 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/1.18, allocations: 32.39 kB / 0.7279 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/1.18, allocations: 11.84 kB / 0.7279 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.285e-05/1.18, allocations: 11.67 kB / 0.7279 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02668/1.207, allocations: 15.54 MB / 0.7431 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.324e-05/1.207, allocations: 3.938 kB / 0.7431 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.209, allocations: 389.4 kB / 0.7434 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008774/1.218, allocations: 3.171 MB / 0.7465 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005633/1.218, allocations: 47.84 kB / 0.7466 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/1.237, allocations: 15.76 MB / 0.762 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.237, allocations: 7.938 kB / 0.762 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01917/1.256, allocations: 12.13 MB / 0.7738 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.258, allocations: 458.2 kB / 0.7743 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.259, allocations: 42.11 kB / 0.7743 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.261, allocations: 187.7 kB / 0.7745 GB, free: 136.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006562/1.262, allocations: 154.2 kB / 0.7746 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.262, allocations: 66 kB / 0.7747 GB, free: 136 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004012/1.266, allocations: 2.733 MB / 0.7774 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.563e-06/1.266, allocations: 0 / 0.7774 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006965/1.273, allocations: 1.371 MB / 0.7787 GB, free: 131.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.0005737/1.274, allocations: 179.9 kB / 0.7789 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01619/1.29, allocations: 10.94 MB / 0.7896 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.29, allocations: 1.125 kB / 0.7896 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00462/1.295, allocations: 3.314 MB / 0.7928 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/1.298, allocations: 0.504 MB / 0.7933 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.318, allocations: 12.46 MB / 0.8055 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003488/1.321, allocations: 3.662 MB / 0.809 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/1.323, allocations: 331.4 kB / 0.8094 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/1.323, allocations: 0 / 0.8094 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.3492/1.672, allocations: 92.27 MB / 0.8995 GB, free: 178.2 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/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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches