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.001219/0.001219, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001359/0.001359, allocations: 192 kB / 18.56 MB, free: 4.562 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.443/1.443, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2771/0.2771, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 59.09 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01411/0.144, allocations: 11.98 MB / 481.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1565, allocations: 4.371 MB / 485.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.159, allocations: 71.81 kB / 485.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00569/0.1647, allocations: 2.76 MB / 488.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006464/0.1712, allocations: 2.043 MB / 490.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.1741, allocations: 0.9983 MB / 491.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008938/0.1831, allocations: 5.293 MB / 496.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006316/0.1894, allocations: 3.444 MB / 0.4886 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005408/0.1949, allocations: 1.744 MB / 0.4903 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005432/0.2003, allocations: 2.449 MB / 0.4927 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002173/0.2026, allocations: 371.9 kB / 0.493 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004278/0.2069, allocations: 1.42 MB / 0.4944 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004048/0.2109, allocations: 2.194 MB / 0.4966 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006169/0.2171, allocations: 2.571 MB / 0.4991 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3352/0.5523, allocations: 7.975 MB / 0.5069 GB, free: 23.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5524, allocations: 4.219 kB / 0.5069 GB, free: 23.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5524, allocations: 0.9688 kB / 0.5069 GB, free: 23.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003611/0.5528, allocations: 0.7812 kB / 0.5069 GB, free: 23.36 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.01873/0.5715, allocations: 5.906 MB / 0.5126 GB, free: 21.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.5716, allocations: 10 kB / 0.5126 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001973/0.5736, allocations: 0.7925 MB / 0.5134 GB, free: 21.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09568/0.6693, allocations: 7.215 MB / 0.5205 GB, free: 20.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.6794, allocations: 3.756 MB / 0.5241 GB, free: 19.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.6798, allocations: 257.8 kB / 0.5244 GB, free: 19.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/0.6819, allocations: 351.7 kB / 0.5247 GB, free: 19.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02628/0.7082, allocations: 12.28 MB / 0.5367 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/0.7084, allocations: 57.58 kB / 0.5368 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006089/0.709, allocations: 165.5 kB / 0.5369 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00359/0.7126, allocations: 2.373 MB / 0.5392 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02301/0.7357, allocations: 10.71 MB / 0.5497 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0715/0.8072, allocations: 48.76 MB / 0.5973 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/0.8239, allocations: 5.849 MB / 0.603 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004487/0.8284, allocations: 3.12 MB / 0.6061 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02605/0.8545, allocations: 13.02 MB / 0.6188 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.124e-05/0.8546, allocations: 51.88 kB / 0.6188 GB, free: 8.602 MB / 462.1 MB Notification: Performance of pre-optimization done (n=193): time 7.414e-06/0.8546, allocations: 0 / 0.6188 GB, free: 8.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.1188/0.9734, allocations: 38.69 MB / 0.6566 GB, free: 1.844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.9736, allocations: 217.6 kB / 0.6568 GB, free: 1.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006689/0.9803, allocations: 4.385 MB / 0.6611 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007102/0.981, allocations: 61.7 kB / 0.6612 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002457/0.9835, allocations: 3.434 MB / 0.6645 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001474/0.985, allocations: 0.9435 MB / 0.6654 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/0.9872, allocations: 1.368 MB / 0.6668 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.9873, allocations: 305.1 kB / 0.6671 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004621/0.9919, allocations: 3.121 MB / 0.6701 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007552/0.9995, allocations: 7.038 MB / 0.677 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/1.014, allocations: 10.96 MB / 0.6877 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001933/1.015, allocations: 40 kB / 0.6877 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03195/1.047, allocations: 12.67 MB / 0.7001 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/1.047, allocations: 64.97 kB / 0.7002 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/1.047, allocations: 136 kB / 0.7003 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2667/1.314, allocations: 3.247 MB / 0.7035 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006838/1.32, allocations: 1.534 MB / 0.705 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02583/1.346, allocations: 16.61 MB / 0.7212 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006998/1.353, allocations: 434.1 kB / 0.7216 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/1.355, allocations: 402.8 kB / 0.722 GB, free: 180 MB / 0.5294 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.005485/1.36, allocations: 2.355 MB / 0.7243 GB, free: 179 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009403/1.361, allocations: 400.6 kB / 0.7247 GB, free: 179 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/1.375, allocations: 7.513 MB / 0.732 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/1.375, allocations: 29.91 kB / 0.732 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/1.375, allocations: 11.31 kB / 0.732 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.067e-05/1.375, allocations: 14.94 kB / 0.7321 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02502/1.4, allocations: 15.21 MB / 0.7469 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-05/1.4, allocations: 4 kB / 0.7469 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/1.403, allocations: 379.4 kB / 0.7473 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0083/1.411, allocations: 2.926 MB / 0.7501 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009165/1.412, allocations: 43.98 kB / 0.7502 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/1.43, allocations: 14.78 MB / 0.7646 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.43, allocations: 0 / 0.7646 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/1.447, allocations: 11.47 MB / 0.7758 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.449, allocations: 444.2 kB / 0.7762 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009192/1.45, allocations: 47.94 kB / 0.7763 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/1.452, allocations: 187.7 kB / 0.7765 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/1.453, allocations: 152.3 kB / 0.7766 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.453, allocations: 64.86 kB / 0.7767 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004205/1.457, allocations: 2.747 MB / 0.7793 GB, free: 131 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.7e-07/1.457, allocations: 5.219 kB / 0.7794 GB, free: 131 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007321/1.465, allocations: 1.311 MB / 0.7806 GB, free: 129.6 MB / 0.5294 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.01776/1.482, allocations: 12.14 MB / 0.7925 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01664/1.499, allocations: 10.37 MB / 0.8026 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.499, allocations: 4 kB / 0.8026 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004542/1.504, allocations: 3.127 MB / 0.8057 GB, free: 104 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/1.507, allocations: 0.5177 MB / 0.8062 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08739/1.595, allocations: 68.2 MB / 0.8728 GB, free: 26.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/1.599, allocations: 3.67 MB / 0.8764 GB, free: 23.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0053/1.604, allocations: 2.172 MB / 0.8785 GB, free: 20.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002577/1.607, allocations: 2.225 MB / 0.8807 GB, free: 18.64 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/1.607, allocations: 0 / 0.8807 GB, free: 18.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4406/2.047, allocations: 98.32 MB / 0.9767 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/14.01, allocations: 10.42 kB / 0.9767 GB, free: 124.6 MB / 0.5294 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