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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 104.5 kB / 16.4 MB, free: 6.484 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.001484/0.001484, allocations: 188.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2278/0.2278, allocations: 43.52 MB / 314.1 MB, free: 460 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.001771/0.001772, allocations: 71.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1209, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01314/0.1341, allocations: 12.02 MB / 0.4991 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009183/0.1433, allocations: 4.387 MB / 0.5034 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.1455, allocations: 71.81 kB / 0.5035 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005899/0.1514, allocations: 2.756 MB / 0.5062 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006083/0.1577, allocations: 2.046 MB / 0.5082 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.1605, allocations: 1.01 MB / 0.5092 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008861/0.1693, allocations: 5.131 MB / 0.5142 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005761/0.1752, allocations: 3.44 MB / 0.5175 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.1786, allocations: 1.764 MB / 0.5193 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00399/0.1827, allocations: 2.461 MB / 0.5217 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.184, allocations: 368 kB / 0.522 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.1873, allocations: 1.408 MB / 0.5234 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003591/0.1909, allocations: 2.217 MB / 0.5256 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005115/0.1961, allocations: 2.587 MB / 0.5281 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2451/0.4412, allocations: 8.268 MB / 0.5362 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4412, allocations: 0.8906 kB / 0.5362 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4413, allocations: 1.031 kB / 0.5362 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003354/0.4416, allocations: 0 / 0.5362 GB, free: 15.53 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.02058/0.4622, allocations: 5.916 MB / 0.5419 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4623, allocations: 21.52 kB / 0.542 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002746/0.465, allocations: 0.7904 MB / 0.5427 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09763/0.5627, allocations: 7.213 MB / 0.5498 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.574, allocations: 4.128 MB / 0.5538 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.5744, allocations: 254.1 kB / 0.554 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/0.5766, allocations: 354.5 kB / 0.5544 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/0.6042, allocations: 12.29 MB / 0.5664 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003186/0.6046, allocations: 50.38 kB / 0.5664 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001937/0.6065, allocations: 167 kB / 0.5666 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004088/0.6106, allocations: 2.378 MB / 0.5689 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.6348, allocations: 10.7 MB / 0.5794 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07527/0.7101, allocations: 48.61 MB / 0.6268 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/0.7271, allocations: 5.852 MB / 0.6325 GB, free: 4.254 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004601/0.7317, allocations: 3.114 MB / 0.6356 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02602/0.7578, allocations: 13.02 MB / 0.6483 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.064e-05/0.7579, allocations: 67.61 kB / 0.6484 GB, free: 3.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 6.372e-06/0.7579, allocations: 0 / 0.6484 GB, free: 3.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.1315/0.8894, allocations: 38.8 MB / 0.6863 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.8896, allocations: 208.6 kB / 0.6865 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009106/0.8987, allocations: 4.427 MB / 0.6908 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007463/0.8995, allocations: 65.45 kB / 0.6908 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002919/0.9024, allocations: 3.433 MB / 0.6942 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/0.9042, allocations: 0.9509 MB / 0.6951 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004662/0.9089, allocations: 1.367 MB / 0.6965 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.909, allocations: 301.1 kB / 0.6967 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006172/0.9152, allocations: 3.113 MB / 0.6998 GB, free: 15.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/0.9256, allocations: 7.047 MB / 0.7067 GB, free: 6.129 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/0.9403, allocations: 10.96 MB / 0.7174 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/0.9405, allocations: 40 kB / 0.7174 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03138/0.9719, allocations: 12.66 MB / 0.7298 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.9721, allocations: 64 kB / 0.7298 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/0.9723, allocations: 136 kB / 0.73 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/0.9827, allocations: 3.245 MB / 0.7331 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006162/0.9889, allocations: 1.547 MB / 0.7346 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02688/1.016, allocations: 16.6 MB / 0.7508 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007266/1.023, allocations: 427.4 kB / 0.7513 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002136/1.025, allocations: 410.8 kB / 0.7516 GB, free: 6.793 MB / 0.5919 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 (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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007306/1.033, allocations: 2.353 MB / 0.7539 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/1.034, allocations: 410.8 kB / 0.7543 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2872/1.321, allocations: 7.515 MB / 0.7617 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.534e-05/1.321, allocations: 30.31 kB / 0.7617 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.859e-05/1.321, allocations: 10.53 kB / 0.7617 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-05/1.321, allocations: 17.52 kB / 0.7617 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03362/1.355, allocations: 15.04 MB / 0.7764 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/1.355, allocations: 0 / 0.7764 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/1.357, allocations: 382.8 kB / 0.7768 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008749/1.366, allocations: 2.922 MB / 0.7796 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006084/1.367, allocations: 39.75 kB / 0.7797 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/1.388, allocations: 14.82 MB / 0.7941 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.388, allocations: 0 / 0.7941 GB, free: 198 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02039/1.409, allocations: 11.49 MB / 0.8054 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003275/1.412, allocations: 0.9205 MB / 0.8063 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/1.413, allocations: 36 kB / 0.8063 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/1.417, allocations: 199.6 kB / 0.8065 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007673/1.417, allocations: 145.7 kB / 0.8066 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003498/1.418, allocations: 68.95 kB / 0.8067 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006566/1.424, allocations: 2.771 MB / 0.8094 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.11e-07/1.424, allocations: 0 / 0.8094 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008502/1.433, allocations: 1.312 MB / 0.8107 GB, free: 183.6 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 (189): * Single equations (assignments): 185 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02139/1.454, allocations: 12.16 MB / 0.8226 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.467, allocations: 7.854 MB / 0.8302 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.467, allocations: 0 / 0.8302 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005461/1.473, allocations: 3.137 MB / 0.8333 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005932/1.479, allocations: 0.5139 MB / 0.8338 GB, free: 160.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1068/1.586, allocations: 60.74 MB / 0.8931 GB, free: 93.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006666/1.593, allocations: 3.673 MB / 0.8967 GB, free: 89.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005657/1.598, allocations: 2.177 MB / 0.8988 GB, free: 87.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003777/1.602, allocations: 2.225 MB / 0.901 GB, free: 85.11 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/1.602, allocations: 0 / 0.901 GB, free: 85.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3567/1.959, allocations: 96.25 MB / 0.995 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.41/29.37, allocations: 13.48 kB / 0.995 GB, free: 204.6 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > 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