Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00215/0.00215, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002685/0.002685, allocations: 219.4 kB / 23.01 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2196/0.2196, allocations: 44.24 MB / 330.3 MB, free: 9.613 MB / 270.1 MB " [Timeout remaining time 180] 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.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_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 71.88 kB / 467.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1132, allocations: 61.05 MB / 0.5162 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01223/0.1254, allocations: 9.24 MB / 0.5252 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007053/0.1324, allocations: 2.736 MB / 0.5279 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.1339, allocations: 43.88 kB / 0.5279 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.1369, allocations: 1.331 MB / 0.5292 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.1385, allocations: 0.5714 MB / 0.5298 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.1395, allocations: 427 kB / 0.5302 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.1413, allocations: 1.242 MB / 0.5314 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.1429, allocations: 1.094 MB / 0.5324 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000963/0.1438, allocations: 0.6149 MB / 0.533 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.1453, allocations: 0.8992 MB / 0.5339 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.1456, allocations: 128 kB / 0.534 GB, free: 4.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1467, allocations: 0.6084 MB / 0.5346 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.1478, allocations: 0.8335 MB / 0.5355 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.149, allocations: 0.9355 MB / 0.5364 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2139/0.363, allocations: 2.862 MB / 0.5392 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.363, allocations: 0.5156 kB / 0.5392 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.363, allocations: 0 / 0.5392 GB, free: 13.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.819e-05/0.3631, allocations: 1.406 kB / 0.5392 GB, free: 13.96 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.004885/0.3679, allocations: 2.361 MB / 0.5415 GB, free: 12.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.368, allocations: 9.219 kB / 0.5415 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003894/0.3684, allocations: 348.2 kB / 0.5418 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.3695, allocations: 286.1 kB / 0.5421 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.3711, allocations: 0.8366 MB / 0.5429 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.3711, allocations: 108.8 kB / 0.543 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/0.3714, allocations: 149.7 kB / 0.5431 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008268/0.3797, allocations: 4.909 MB / 0.5479 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.3797, allocations: 10.84 kB / 0.5479 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.3798, allocations: 66.31 kB / 0.548 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/0.3815, allocations: 0.996 MB / 0.549 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007625/0.3891, allocations: 3.81 MB / 0.5527 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/0.4097, allocations: 16.25 MB / 0.5686 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/0.4139, allocations: 1.206 MB / 0.5698 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.4146, allocations: 0.6106 MB / 0.5703 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005448/0.4201, allocations: 3.115 MB / 0.5734 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.4201, allocations: 49.48 kB / 0.5734 GB, free: 14.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.4201, allocations: 0 / 0.5734 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006035/0.4262, allocations: 1.787 MB / 0.5752 GB, free: 14.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.4262, allocations: 107.9 kB / 0.5753 GB, free: 14.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.4285, allocations: 1.611 MB / 0.5769 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.4285, allocations: 31.77 kB / 0.5769 GB, free: 13.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.4297, allocations: 1.461 MB / 0.5783 GB, free: 11.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.4299, allocations: 187.9 kB / 0.5785 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005185/0.4304, allocations: 469.1 kB / 0.5789 GB, free: 11.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.4306, allocations: 360.6 kB / 0.5793 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.4313, allocations: 0.5165 MB / 0.5798 GB, free: 10.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.4333, allocations: 2.061 MB / 0.5818 GB, free: 8.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.4366, allocations: 2.817 MB / 0.5846 GB, free: 5.848 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-05/0.4366, allocations: 15.12 kB / 0.5846 GB, free: 5.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003478/0.4401, allocations: 2.467 MB / 0.587 GB, free: 4.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.4402, allocations: 32.34 kB / 0.587 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/0.4402, allocations: 58.75 kB / 0.5871 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.556e-05/0.4402, allocations: 70.69 kB / 0.5871 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.4416, allocations: 0.5421 MB / 0.5877 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.143e-05/0.4417, allocations: 114.6 kB / 0.5878 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.4432, allocations: 352.1 kB / 0.5881 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.4434, allocations: 144.4 kB / 0.5882 GB, free: 4.598 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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 (295): * Single equations (assignments): 295 * 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.001081/0.4444, allocations: 0.8571 MB / 0.5891 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.4446, allocations: 143.5 kB / 0.5892 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.4449, allocations: 162.8 kB / 0.5894 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4449, allocations: 8 kB / 0.5894 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4449, allocations: 1.562 kB / 0.5894 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4449, allocations: 6.484 kB / 0.5894 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/0.4498, allocations: 3.251 MB / 0.5926 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.4498, allocations: 12 kB / 0.5926 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.4502, allocations: 101.8 kB / 0.5927 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/0.4502, allocations: 16 kB / 0.5927 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.4502, allocations: 24 kB / 0.5927 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.262e-05/0.4503, allocations: 24.58 kB / 0.5927 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.469e-05/0.4503, allocations: 19.88 kB / 0.5928 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.4514, allocations: 0.9043 MB / 0.5936 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.4517, allocations: 151.8 kB / 0.5938 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.4518, allocations: 28.81 kB / 0.5938 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.4523, allocations: 27.98 kB / 0.5938 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.4524, allocations: 71.62 kB / 0.5939 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.4524, allocations: 31.98 kB / 0.5939 GB, free: 15.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.4538, allocations: 0.9867 MB / 0.5949 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4538, allocations: 4 kB / 0.5949 GB, free: 14.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00203/0.4558, allocations: 486.6 kB / 0.5954 GB, free: 13.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * 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.001522/0.4573, allocations: 1.484 MB / 0.5968 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.4595, allocations: 1.251 MB / 0.598 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.4595, allocations: 4.438 kB / 0.598 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.4598, allocations: 230.5 kB / 0.5983 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.461, allocations: 193.8 kB / 0.5984 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/0.4849, allocations: 15.49 MB / 0.6136 GB, free: 8.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.487, allocations: 1.703 MB / 0.6152 GB, free: 6.953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001712/0.4887, allocations: 0.6149 MB / 0.6158 GB, free: 6.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/0.4898, allocations: 0.7414 MB / 0.6166 GB, free: 5.598 MB / 462.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4898, allocations: 4 kB / 0.6166 GB, free: 5.594 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06557/0.5554, allocations: 26.59 MB / 0.6425 GB, free: 11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.61, allocations: 0 / 0.6425 GB, free: 11 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 17.704260248923674]