Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.002129/0.002129, allocations: 119.2 kB / 17.09 MB, free: 6.012 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.002216/0.002216, allocations: 193.3 kB / 18.01 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.63/2.63, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3986/0.3986, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1746, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.0292/0.2039, allocations: 12.02 MB / 0.5003 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0207/0.2247, allocations: 4.383 MB / 0.5046 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01118/0.236, allocations: 75.75 kB / 0.5046 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.2467, allocations: 2.76 MB / 0.5073 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01325/0.2603, allocations: 2.043 MB / 0.5093 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01013/0.2705, allocations: 1.01 MB / 0.5103 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01652/0.2871, allocations: 5.135 MB / 0.5153 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0159/0.3031, allocations: 3.428 MB / 0.5187 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007073/0.3103, allocations: 1.768 MB / 0.5204 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008475/0.3189, allocations: 2.457 MB / 0.5228 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002335/0.3213, allocations: 368 kB / 0.5232 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.3315, allocations: 1.412 MB / 0.5245 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005893/0.3375, allocations: 2.225 MB / 0.5267 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008799/0.3463, allocations: 2.509 MB / 0.5292 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4915/0.8379, allocations: 8.071 MB / 0.537 GB, free: 16.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.838, allocations: 0 / 0.537 GB, free: 16.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.838, allocations: 1.312 kB / 0.537 GB, free: 16.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000459/0.8385, allocations: 0 / 0.537 GB, free: 16.29 MB / 414.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.03838/0.8769, allocations: 5.756 MB / 0.5427 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.628e-05/0.877, allocations: 13.95 kB / 0.5427 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03525/0.9123, allocations: 2.599 MB / 0.5452 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01726/0.9296, allocations: 3.309 MB / 0.5484 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007652/0.9304, allocations: 256.9 kB / 0.5487 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003317/0.9338, allocations: 344.4 kB / 0.549 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04877/0.9826, allocations: 12.37 MB / 0.5611 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006485/0.9833, allocations: 50.3 kB / 0.5611 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002988/0.9863, allocations: 167.5 kB / 0.5613 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007964/0.9943, allocations: 2.382 MB / 0.5636 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06064/1.055, allocations: 10.84 MB / 0.5742 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1254/1.18, allocations: 48.62 MB / 0.6217 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03017/1.211, allocations: 6.048 MB / 0.6276 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007676/1.218, allocations: 3.306 MB / 0.6308 GB, free: 7.004 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04698/1.266, allocations: 13.52 MB / 0.644 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/1.266, allocations: 59.16 kB / 0.6441 GB, free: 9.195 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 8.566e-06/1.266, allocations: 0 / 0.6441 GB, free: 9.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.2253/1.491, allocations: 36.33 MB / 0.6796 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002261/1.491, allocations: 213.4 kB / 0.6798 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01785/1.509, allocations: 4.392 MB / 0.6841 GB, free: 136 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001441/1.511, allocations: 72.33 kB / 0.6841 GB, free: 60 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.005853/1.517, allocations: 3.375 MB / 0.6874 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003444/1.52, allocations: 0.9843 MB / 0.6884 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01018/1.53, allocations: 1.428 MB / 0.6898 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002274/1.531, allocations: 301.1 kB / 0.6901 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01184/1.543, allocations: 3.281 MB / 0.6933 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01895/1.562, allocations: 7.203 MB / 0.7003 GB, free: 13.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03028/1.592, allocations: 11.24 MB / 0.7113 GB, free: 1.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003249/1.592, allocations: 40 kB / 0.7113 GB, free: 1.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.08908/1.682, allocations: 13.27 MB / 0.7243 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003389/1.682, allocations: 67.94 kB / 0.7243 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00041/1.682, allocations: 136 kB / 0.7245 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/1.699, allocations: 3.399 MB / 0.7278 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/1.71, allocations: 1.579 MB / 0.7293 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04575/1.756, allocations: 17.54 MB / 0.7465 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/1.767, allocations: 427.5 kB / 0.7469 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003171/1.77, allocations: 416 kB / 0.7473 GB, free: 12.28 MB / 0.5919 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.01117/1.781, allocations: 2.356 MB / 0.7496 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002304/1.784, allocations: 410.7 kB / 0.7499 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0306/1.814, allocations: 8.002 MB / 0.7578 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001356/1.814, allocations: 34.61 kB / 0.7578 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.599e-05/1.814, allocations: 8 kB / 0.7578 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/1.815, allocations: 11.97 kB / 0.7578 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4823/2.297, allocations: 15.38 MB / 0.7728 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-05/2.297, allocations: 1.25 kB / 0.7728 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003624/2.301, allocations: 389.1 kB / 0.7732 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01647/2.317, allocations: 3.171 MB / 0.7763 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/2.318, allocations: 46.56 kB / 0.7764 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03415/2.352, allocations: 15.81 MB / 0.7918 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/2.353, allocations: 3.938 kB / 0.7918 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03439/2.387, allocations: 12.14 MB / 0.8036 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0052/2.392, allocations: 0.9419 MB / 0.8046 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002357/2.395, allocations: 39.98 kB / 0.8046 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005509/2.4, allocations: 187.7 kB / 0.8048 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00161/2.402, allocations: 162.6 kB / 0.8049 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008754/2.403, allocations: 60 kB / 0.805 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008806/2.412, allocations: 2.757 MB / 0.8077 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.91e-07/2.412, allocations: 0 / 0.8077 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01494/2.427, allocations: 1.364 MB / 0.809 GB, free: 186.5 MB / 0.5919 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.00165/2.428, allocations: 181.8 kB / 0.8092 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02297/2.451, allocations: 8.203 MB / 0.8172 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/2.451, allocations: 0 / 0.8172 GB, free: 178.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009674/2.461, allocations: 3.328 MB / 0.8205 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008031/2.469, allocations: 0.5056 MB / 0.821 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03869/2.508, allocations: 12.36 MB / 0.833 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009617/2.517, allocations: 3.655 MB / 0.8366 GB, free: 158.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003026/2.521, allocations: 335.4 kB / 0.8369 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/2.521, allocations: 0 / 0.8369 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.2415/2.762, allocations: 93.17 MB / 0.9279 GB, free: 64.76 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches