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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_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.001284/0.001284, allocations: 105 kB / 17.21 MB, free: 6.273 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.001339/0.001339, allocations: 194 kB / 18.12 MB, free: 5.363 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.22/1.22, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.1745/0.1745, allocations: 44.16 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.61 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08438, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03458/0.119, allocations: 43.43 MB / 0.5 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1738/0.2929, allocations: 9.624 MB / 0.5094 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005136/0.298, allocations: 189.4 kB / 0.5096 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004084/0.3021, allocations: 2.747 MB / 0.5123 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.3056, allocations: 1.9 MB / 0.5142 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.3072, allocations: 0.9356 MB / 0.5151 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006711/0.3139, allocations: 7.424 MB / 0.5223 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002968/0.3169, allocations: 3.342 MB / 0.5256 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.3189, allocations: 1.561 MB / 0.5271 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.3216, allocations: 2.598 MB / 0.5297 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000489/0.3221, allocations: 255.9 kB / 0.5299 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.3241, allocations: 1.395 MB / 0.5313 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.3255, allocations: 2.105 MB / 0.5333 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.3272, allocations: 2.455 MB / 0.5357 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007463/0.3347, allocations: 7.898 MB / 0.5434 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3347, allocations: 4 kB / 0.5434 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3347, allocations: 0 / 0.5434 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001573/0.3349, allocations: 0 / 0.5434 GB, free: 11.14 MB / 398.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.01136/0.3463, allocations: 5.901 MB / 0.5492 GB, free: 5.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3463, allocations: 8.031 kB / 0.5492 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008502/0.3472, allocations: 0.7987 MB / 0.55 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07056/0.4177, allocations: 7.214 MB / 0.557 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/0.4243, allocations: 3.754 MB / 0.5607 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.4245, allocations: 257.2 kB / 0.5609 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005794/0.425, allocations: 349.8 kB / 0.5613 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.4411, allocations: 12.28 MB / 0.5733 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.226e-05/0.4412, allocations: 55.5 kB / 0.5733 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003655/0.4416, allocations: 166.1 kB / 0.5735 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003235/0.4448, allocations: 2.38 MB / 0.5758 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/0.4611, allocations: 10.71 MB / 0.5863 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0451/0.5062, allocations: 48.77 MB / 0.6339 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.5193, allocations: 5.866 MB / 0.6396 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.5225, allocations: 3.112 MB / 0.6426 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0151/0.5376, allocations: 13.01 MB / 0.6554 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.5377, allocations: 55.81 kB / 0.6554 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 3.397e-06/0.5377, allocations: 0 / 0.6554 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.1046/0.6423, allocations: 38.67 MB / 0.6932 GB, free: 15.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6424, allocations: 217.9 kB / 0.6934 GB, free: 15.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00657/0.649, allocations: 4.384 MB / 0.6977 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004608/0.6495, allocations: 64.28 kB / 0.6977 GB, free: 10.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002266/0.6518, allocations: 3.427 MB / 0.7011 GB, free: 7.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.6529, allocations: 0.9485 MB / 0.702 GB, free: 6.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002164/0.6551, allocations: 1.367 MB / 0.7033 GB, free: 5.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.6552, allocations: 305.1 kB / 0.7036 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004299/0.6595, allocations: 3.117 MB / 0.7067 GB, free: 1.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1725/0.832, allocations: 7.043 MB / 0.7135 GB, free: 199.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.8439, allocations: 10.96 MB / 0.7242 GB, free: 191.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/0.8441, allocations: 39.72 kB / 0.7243 GB, free: 191.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.022/0.8661, allocations: 12.67 MB / 0.7367 GB, free: 187.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.8662, allocations: 65.09 kB / 0.7367 GB, free: 187.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.882e-05/0.8663, allocations: 135.9 kB / 0.7368 GB, free: 187.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007687/0.874, allocations: 3.243 MB / 0.74 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/0.8782, allocations: 1.535 MB / 0.7415 GB, free: 186.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01738/0.8956, allocations: 15.5 MB / 0.7566 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005156/0.9008, allocations: 430.8 kB / 0.7571 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009572/0.9018, allocations: 407.9 kB / 0.7574 GB, free: 176.1 MB / 0.545 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.003052/0.9049, allocations: 2.346 MB / 0.7597 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006499/0.9055, allocations: 410.7 kB / 0.7601 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.9173, allocations: 7.514 MB / 0.7675 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.9174, allocations: 28 kB / 0.7675 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.9174, allocations: 15.94 kB / 0.7675 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.9174, allocations: 15.95 kB / 0.7675 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/0.9378, allocations: 15.21 MB / 0.7824 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/0.9378, allocations: 4.75 kB / 0.7824 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.9393, allocations: 379.5 kB / 0.7827 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006922/0.9462, allocations: 2.929 MB / 0.7856 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/0.9464, allocations: 36 kB / 0.7856 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.9608, allocations: 13.73 MB / 0.799 GB, free: 133.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9608, allocations: 3.938 kB / 0.7991 GB, free: 133.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.9752, allocations: 11.47 MB / 0.8103 GB, free: 122.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/0.9759, allocations: 443.8 kB / 0.8107 GB, free: 121.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/0.9764, allocations: 44 kB / 0.8107 GB, free: 121.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.9781, allocations: 195.5 kB / 0.8109 GB, free: 121.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004221/0.9785, allocations: 145.8 kB / 0.811 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/0.9787, allocations: 67.94 kB / 0.8111 GB, free: 121.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002785/0.9815, allocations: 2.747 MB / 0.8138 GB, free: 118.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9815, allocations: 3.938 kB / 0.8138 GB, free: 118.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004126/0.9856, allocations: 1.314 MB / 0.8151 GB, free: 117.3 MB / 0.545 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.01469/1, allocations: 12.15 MB / 0.8269 GB, free: 105 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009129/1.009, allocations: 7.823 MB / 0.8346 GB, free: 97.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.01, allocations: 4 kB / 0.8346 GB, free: 97.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00352/1.013, allocations: 3.123 MB / 0.8376 GB, free: 94.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.016, allocations: 0.4904 MB / 0.8381 GB, free: 93.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07491/1.09, allocations: 70.36 MB / 0.9068 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/1.093, allocations: 3.67 MB / 0.9104 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004019/1.097, allocations: 2.169 MB / 0.9125 GB, free: 8.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002002/1.099, allocations: 2.218 MB / 0.9147 GB, free: 6.633 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/1.099, allocations: 0 / 0.9147 GB, free: 6.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.382/6.481, allocations: 96.02 MB / 1.008 GB, free: 126.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/6.481, allocations: 208.1 kB / 1.009 GB, free: 126.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.56/11.04, allocations: 4 kB / 1.009 GB, free: 126.6 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > 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