Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 46.92 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.89 kB / 0.4916 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1305, allocations: 65.99 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01037/0.1408, allocations: 8.145 MB / 0.564 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.1463, allocations: 2.647 MB / 0.5666 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008931/0.1472, allocations: 39.88 kB / 0.5667 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.1499, allocations: 1.304 MB / 0.5679 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.151, allocations: 465.7 kB / 0.5684 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008906/0.1519, allocations: 419.1 kB / 0.5688 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.1531, allocations: 1.04 MB / 0.5698 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.1544, allocations: 1.027 MB / 0.5708 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006312/0.155, allocations: 0.5372 MB / 0.5713 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.1561, allocations: 0.8137 MB / 0.5721 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.1562, allocations: 116 kB / 0.5722 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000892/0.1571, allocations: 0.6084 MB / 0.5728 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007023/0.1578, allocations: 0.7284 MB / 0.5735 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007567/0.1586, allocations: 0.8036 MB / 0.5743 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.1613, allocations: 2.498 MB / 0.5767 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1613, allocations: 0 / 0.5767 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1613, allocations: 0 / 0.5767 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.608e-05/0.1613, allocations: 4 kB / 0.5768 GB, free: 0.543 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004379/0.1657, allocations: 2.173 MB / 0.5789 GB, free: 14.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1658, allocations: 8.031 kB / 0.5789 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.804e-05/0.1658, allocations: 38.56 kB / 0.5789 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003473/0.1662, allocations: 296.5 kB / 0.5792 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.1672, allocations: 291.4 kB / 0.5795 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.1687, allocations: 0.8462 MB / 0.5803 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.1687, allocations: 98.44 kB / 0.5804 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.169, allocations: 120 kB / 0.5805 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008056/0.177, allocations: 4.284 MB / 0.5847 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.1771, allocations: 11.88 kB / 0.5847 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.1772, allocations: 51.95 kB / 0.5848 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001164/0.1784, allocations: 0.7249 MB / 0.5855 GB, free: 7.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007839/0.1862, allocations: 3.5 MB / 0.5889 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2769/0.4632, allocations: 14.26 MB / 0.6028 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004567/0.4677, allocations: 1.135 MB / 0.6039 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009547/0.4687, allocations: 0.592 MB / 0.6045 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005548/0.4742, allocations: 3.708 MB / 0.6081 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.4743, allocations: 38.39 kB / 0.6082 GB, free: 24.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.4743, allocations: 0 / 0.6082 GB, free: 24.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006588/0.4809, allocations: 1.768 MB / 0.6099 GB, free: 23.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4809, allocations: 67.03 kB / 0.6099 GB, free: 23.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.4831, allocations: 1.476 MB / 0.6114 GB, free: 23.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.4832, allocations: 31.73 kB / 0.6114 GB, free: 23.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007039/0.4839, allocations: 1.242 MB / 0.6126 GB, free: 22.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.484, allocations: 180.5 kB / 0.6128 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.4845, allocations: 440.8 kB / 0.6132 GB, free: 21.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4846, allocations: 352.5 kB / 0.6136 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007407/0.4854, allocations: 490.3 kB / 0.614 GB, free: 21.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.4866, allocations: 1.893 MB / 0.6159 GB, free: 19.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.4889, allocations: 2.598 MB / 0.6184 GB, free: 16.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-05/0.4889, allocations: 14.72 kB / 0.6184 GB, free: 16.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003413/0.4923, allocations: 2.269 MB / 0.6206 GB, free: 15.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.4924, allocations: 27.47 kB / 0.6207 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.462e-05/0.4924, allocations: 52.19 kB / 0.6207 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.4925, allocations: 65.19 kB / 0.6208 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4938, allocations: 498.6 kB / 0.6213 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.51e-05/0.4939, allocations: 101.5 kB / 0.6213 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.4954, allocations: 311.7 kB / 0.6216 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.4956, allocations: 134.7 kB / 0.6218 GB, free: 15.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001021/0.4966, allocations: 0.7579 MB / 0.6225 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.4968, allocations: 133 kB / 0.6226 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.497, allocations: 143.7 kB / 0.6228 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.497, allocations: 7.906 kB / 0.6228 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.497, allocations: 0 / 0.6228 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.497, allocations: 13.05 kB / 0.6228 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.5007, allocations: 2.883 MB / 0.6256 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5007, allocations: 11.78 kB / 0.6256 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.501, allocations: 100 kB / 0.6257 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.501, allocations: 23.72 kB / 0.6257 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.501, allocations: 23.75 kB / 0.6258 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.355e-05/0.501, allocations: 27.61 kB / 0.6258 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.501, allocations: 15.75 kB / 0.6258 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.5017, allocations: 0.8786 MB / 0.6267 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.5019, allocations: 220.6 kB / 0.6269 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.502, allocations: 26.3 kB / 0.6269 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.5024, allocations: 26.98 kB / 0.6269 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.5025, allocations: 65.27 kB / 0.627 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.5025, allocations: 34.25 kB / 0.627 GB, free: 12.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008938/0.5034, allocations: 0.9092 MB / 0.6279 GB, free: 11.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5034, allocations: 3.938 kB / 0.6279 GB, free: 11.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001608/0.505, allocations: 406.1 kB / 0.6283 GB, free: 11.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008831/0.5059, allocations: 1.451 MB / 0.6297 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.5073, allocations: 1.17 MB / 0.6309 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5073, allocations: 0 / 0.6309 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.5076, allocations: 242.5 kB / 0.6311 GB, free: 9.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/0.5085, allocations: 195 kB / 0.6313 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.5245, allocations: 14.09 MB / 0.645 GB, free: 9.137 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.526, allocations: 1.523 MB / 0.6465 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001357/0.5274, allocations: 0.5737 MB / 0.6471 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/0.5281, allocations: 0.6165 MB / 0.6477 GB, free: 6.395 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5281, allocations: 0 / 0.6477 GB, free: 6.395 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05025/0.5784, allocations: 23.11 MB / 0.6703 GB, free: 15.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.7, allocations: 7.188 kB / 0.6703 GB, free: 15.47 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.25029108801391]