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.001488/0.001489, allocations: 101.7 kB / 15.98 MB, free: 6.332 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.001537/0.001537, allocations: 192.2 kB / 16.9 MB, free: 6.184 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.495/1.495, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3489/0.3489, allocations: 43.5 MB / 313.6 MB, free: 8.504 MB / 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.001723/0.001724, allocations: 67.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1299, allocations: 57.77 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2413/0.3712, allocations: 43.46 MB / 483.6 MB, free: 24.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.3903, allocations: 9.548 MB / 493.1 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007332/0.3976, allocations: 187.2 kB / 493.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004462/0.4021, allocations: 2.648 MB / 495.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.4066, allocations: 1.899 MB / 497.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.4085, allocations: 0.9601 MB / 498.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006816/0.4154, allocations: 5.248 MB / 0.4922 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00882/0.4242, allocations: 3.617 MB / 0.4958 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005905/0.4302, allocations: 1.804 MB / 0.4975 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005939/0.4361, allocations: 2.724 MB / 0.5002 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002306/0.4385, allocations: 367.3 kB / 0.5005 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004524/0.443, allocations: 1.43 MB / 0.5019 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00445/0.4475, allocations: 2.227 MB / 0.5041 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006332/0.4539, allocations: 2.61 MB / 0.5067 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.4657, allocations: 8.069 MB / 0.5145 GB, free: 3.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4657, allocations: 0 / 0.5145 GB, free: 3.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4657, allocations: 0 / 0.5145 GB, free: 3.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003712/0.4661, allocations: 0 / 0.5145 GB, free: 3.129 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.02118/0.4873, allocations: 5.924 MB / 0.5203 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.4874, allocations: 15.89 kB / 0.5203 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002906/0.4903, allocations: 0.7946 MB / 0.5211 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0841/0.5744, allocations: 7.215 MB / 0.5282 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008914/0.5833, allocations: 4.065 MB / 0.5321 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.5837, allocations: 263 kB / 0.5324 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/0.5854, allocations: 343.7 kB / 0.5327 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02782/0.6133, allocations: 12.29 MB / 0.5447 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002824/0.6136, allocations: 59.52 kB / 0.5448 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001488/0.6151, allocations: 155.8 kB / 0.5449 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004498/0.6196, allocations: 2.385 MB / 0.5472 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02398/0.6436, allocations: 10.71 MB / 0.5577 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06888/0.7125, allocations: 48.82 MB / 0.6054 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/0.7281, allocations: 5.853 MB / 0.6111 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004267/0.7324, allocations: 3.114 MB / 0.6141 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2097/0.9421, allocations: 13.01 MB / 0.6268 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.9422, allocations: 52.47 kB / 0.6269 GB, free: 143.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 4.579e-06/0.9422, allocations: 0 / 0.6269 GB, free: 143.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.1172/1.059, allocations: 38.8 MB / 0.6648 GB, free: 135.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.06, allocations: 208.2 kB / 0.665 GB, free: 134.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008751/1.068, allocations: 4.425 MB / 0.6693 GB, free: 133.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007009/1.069, allocations: 67.61 kB / 0.6694 GB, free: 133.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002403/1.071, allocations: 3.431 MB / 0.6727 GB, free: 130.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001327/1.073, allocations: 0.947 MB / 0.6736 GB, free: 129.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002716/1.076, allocations: 1.366 MB / 0.675 GB, free: 129.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.677e-05/1.076, allocations: 301.1 kB / 0.6753 GB, free: 129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/1.079, allocations: 3.117 MB / 0.6783 GB, free: 127.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005299/1.085, allocations: 7.046 MB / 0.6852 GB, free: 121.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/1.095, allocations: 10.96 MB / 0.6959 GB, free: 109.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001688/1.095, allocations: 40.88 kB / 0.6959 GB, free: 109.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.0224/1.118, allocations: 12.67 MB / 0.7083 GB, free: 96.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/1.118, allocations: 64 kB / 0.7084 GB, free: 96.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002137/1.118, allocations: 136 kB / 0.7085 GB, free: 96.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008514/1.127, allocations: 3.249 MB / 0.7117 GB, free: 93.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005037/1.132, allocations: 1.54 MB / 0.7132 GB, free: 91.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/1.152, allocations: 16.61 MB / 0.7294 GB, free: 75.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/1.159, allocations: 435.3 kB / 0.7298 GB, free: 74.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001739/1.161, allocations: 404 kB / 0.7302 GB, free: 74.26 MB / 494.1 MB 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.005694/1.167, allocations: 2.348 MB / 0.7325 GB, free: 71.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/1.168, allocations: 402.8 kB / 0.7329 GB, free: 71.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/1.182, allocations: 7.523 MB / 0.7402 GB, free: 63.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.501e-05/1.182, allocations: 29.22 kB / 0.7402 GB, free: 63.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-05/1.182, allocations: 12 kB / 0.7403 GB, free: 63.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-05/1.182, allocations: 11.95 kB / 0.7403 GB, free: 63.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02941/1.211, allocations: 15.22 MB / 0.7551 GB, free: 48.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.119e-05/1.211, allocations: 0 / 0.7551 GB, free: 48.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.213, allocations: 375.5 kB / 0.7555 GB, free: 48.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00811/1.222, allocations: 2.936 MB / 0.7584 GB, free: 45.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006539/1.222, allocations: 40 kB / 0.7584 GB, free: 45.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/1.24, allocations: 14.78 MB / 0.7728 GB, free: 30.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.24, allocations: 5.5 kB / 0.7728 GB, free: 30.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/1.259, allocations: 11.48 MB / 0.784 GB, free: 18.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002599/1.261, allocations: 0.9252 MB / 0.785 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001567/1.263, allocations: 40 kB / 0.785 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003677/1.267, allocations: 190.5 kB / 0.7852 GB, free: 17.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.268, allocations: 149.8 kB / 0.7853 GB, free: 17.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004492/1.268, allocations: 67.94 kB / 0.7854 GB, free: 17.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005714/1.274, allocations: 2.767 MB / 0.7881 GB, free: 14.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.61e-07/1.274, allocations: 3.938 kB / 0.7881 GB, free: 14.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008896/1.283, allocations: 1.319 MB / 0.7894 GB, free: 13.38 MB / 494.1 MB 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.02078/1.304, allocations: 12.14 MB / 0.8012 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2357/1.539, allocations: 10.35 MB / 0.8113 GB, free: 154.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.54, allocations: 0 / 0.8113 GB, free: 154.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005096/1.545, allocations: 3.124 MB / 0.8144 GB, free: 154.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/1.548, allocations: 0.5101 MB / 0.8149 GB, free: 154.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1229/1.671, allocations: 70.68 MB / 0.8839 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005833/1.677, allocations: 3.682 MB / 0.8875 GB, free: 106 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005524/1.683, allocations: 2.169 MB / 0.8896 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00371/1.686, allocations: 2.229 MB / 0.8918 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/1.687, allocations: 4 kB / 0.8918 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/1.821, allocations: 98.53 MB / 0.988 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.821, allocations: 223.6 kB / 0.9882 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.865/6.686, allocations: 0 / 0.9882 GB, free: 5.434 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches