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.00105/0.00105, allocations: 102.5 kB / 17.77 MB, free: 5.297 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.001144/0.001144, allocations: 191 kB / 18.71 MB, free: 4.371 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.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2098/0.2098, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.89 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4236, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01314/0.4368, allocations: 11.98 MB / 0.5306 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.4477, allocations: 4.368 MB / 0.5349 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/0.4509, allocations: 71.72 kB / 0.5349 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005505/0.4564, allocations: 2.755 MB / 0.5376 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006617/0.4631, allocations: 2.045 MB / 0.5396 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.4657, allocations: 0.9973 MB / 0.5406 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.4758, allocations: 5.282 MB / 0.5458 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004899/0.4807, allocations: 3.444 MB / 0.5491 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003987/0.4848, allocations: 1.764 MB / 0.5508 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004386/0.4892, allocations: 2.449 MB / 0.5532 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.4904, allocations: 368 kB / 0.5536 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.4939, allocations: 1.42 MB / 0.555 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002246/0.4961, allocations: 2.213 MB / 0.5571 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004113/0.5003, allocations: 2.497 MB / 0.5596 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.5114, allocations: 8.08 MB / 0.5675 GB, free: 10.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.5115, allocations: 0 / 0.5675 GB, free: 10.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5115, allocations: 0 / 0.5675 GB, free: 10.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002849/0.5118, allocations: 0 / 0.5675 GB, free: 10.2 MB / 430.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.0154/0.5272, allocations: 5.741 MB / 0.5731 GB, free: 4.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5272, allocations: 12.03 kB / 0.5731 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.5442, allocations: 2.588 MB / 0.5756 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008812/0.553, allocations: 3.213 MB / 0.5787 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.5533, allocations: 258.7 kB / 0.579 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.5545, allocations: 351.8 kB / 0.5793 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02463/0.5791, allocations: 12.36 MB / 0.5914 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00033/0.5795, allocations: 51.44 kB / 0.5914 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/0.5808, allocations: 163.8 kB / 0.5916 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004273/0.5851, allocations: 2.381 MB / 0.5939 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/0.6088, allocations: 10.84 MB / 0.6045 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07421/0.683, allocations: 48.61 MB / 0.652 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01642/0.6995, allocations: 6.029 MB / 0.6579 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00487/0.7044, allocations: 3.31 MB / 0.6611 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02505/0.7295, allocations: 13.5 MB / 0.6743 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.216e-05/0.7296, allocations: 55.88 kB / 0.6743 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=204): time 9.868e-06/0.7297, allocations: 0 / 0.6743 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=265): time 0.1177/0.8474, allocations: 36.31 MB / 0.7098 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.8476, allocations: 210.2 kB / 0.71 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008916/0.8565, allocations: 4.373 MB / 0.7143 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008084/0.8574, allocations: 65.7 kB / 0.7143 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.316/1.173, allocations: 3.373 MB / 0.7176 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/1.175, allocations: 0.9915 MB / 0.7186 GB, free: 170 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002595/1.178, allocations: 1.415 MB / 0.72 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/1.178, allocations: 305.1 kB / 0.7203 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005111/1.183, allocations: 3.285 MB / 0.7235 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006337/1.189, allocations: 7.201 MB / 0.7305 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.202, allocations: 11.24 MB / 0.7415 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001574/1.202, allocations: 43.59 kB / 0.7415 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02387/1.226, allocations: 13.26 MB / 0.7545 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/1.226, allocations: 64 kB / 0.7545 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/1.226, allocations: 140.8 kB / 0.7547 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00944/1.235, allocations: 3.407 MB / 0.758 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005342/1.241, allocations: 1.575 MB / 0.7595 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/1.262, allocations: 17.54 MB / 0.7767 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007459/1.27, allocations: 432.2 kB / 0.7771 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.272, allocations: 416 kB / 0.7775 GB, free: 125.2 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.004215/1.276, allocations: 2.335 MB / 0.7798 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008376/1.277, allocations: 410.8 kB / 0.7802 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.29, allocations: 8.001 MB / 0.788 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.328e-05/1.29, allocations: 28 kB / 0.788 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/1.29, allocations: 12 kB / 0.788 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.432e-05/1.29, allocations: 15.95 kB / 0.788 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02558/1.316, allocations: 15.39 MB / 0.803 GB, free: 98.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.834e-05/1.316, allocations: 0 / 0.803 GB, free: 98.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.318, allocations: 383.5 kB / 0.8034 GB, free: 98.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008808/1.327, allocations: 3.169 MB / 0.8065 GB, free: 95.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006839/1.328, allocations: 40 kB / 0.8065 GB, free: 95.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/1.346, allocations: 15.81 MB / 0.822 GB, free: 79.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.346, allocations: 4 kB / 0.822 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/1.364, allocations: 12.14 MB / 0.8338 GB, free: 67.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.365, allocations: 450.9 kB / 0.8343 GB, free: 66.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/1.367, allocations: 40 kB / 0.8343 GB, free: 66.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/1.37, allocations: 187.7 kB / 0.8345 GB, free: 66.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007667/1.37, allocations: 158.2 kB / 0.8346 GB, free: 66.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003692/1.371, allocations: 73.61 kB / 0.8347 GB, free: 66.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004821/1.376, allocations: 2.737 MB / 0.8374 GB, free: 63.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.01e-07/1.376, allocations: 0 / 0.8374 GB, free: 63.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007303/1.383, allocations: 1.371 MB / 0.8387 GB, free: 62.2 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.0009084/1.384, allocations: 174.8 kB / 0.8389 GB, free: 62.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.397, allocations: 8.214 MB / 0.8469 GB, free: 53.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.397, allocations: 0 / 0.8469 GB, free: 53.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005656/1.403, allocations: 3.321 MB / 0.8502 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005613/1.408, allocations: 0.498 MB / 0.8506 GB, free: 50 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/1.431, allocations: 11.88 MB / 0.8622 GB, free: 38.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006333/1.437, allocations: 3.666 MB / 0.8658 GB, free: 34.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005126/1.442, allocations: 2.176 MB / 0.8679 GB, free: 32.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/1.444, allocations: 287.4 kB / 0.8682 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/1.444, allocations: 0 / 0.8682 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.09762/1.541, allocations: 57.44 MB / 0.9243 GB, free: 6.848 MB / 0.5919 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","/var/lib/jenkins/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