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.001653/0.001653, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002076/0.002076, allocations: 211.5 kB / 23.78 MB, free: 4.523 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.407/1.407, allocations: 207.7 MB / 234.6 MB, free: 9.77 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.2176/0.2176, allocations: 44.26 MB / 331.1 MB, free: 9.305 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",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.002236/0.002236, allocations: 79.88 kB / 468.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1111, allocations: 61.05 MB / 0.5169 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01055/0.1216, allocations: 8.01 MB / 0.5248 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.1274, allocations: 2.569 MB / 0.5273 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.1284, allocations: 43.94 kB / 0.5273 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.1312, allocations: 1.273 MB / 0.5286 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.1327, allocations: 0.5714 MB / 0.5291 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1337, allocations: 431 kB / 0.5295 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.1355, allocations: 1.239 MB / 0.5307 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.1371, allocations: 1.09 MB / 0.5318 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.1382, allocations: 0.6149 MB / 0.5324 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.1399, allocations: 0.907 MB / 0.5333 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.1403, allocations: 128 kB / 0.5334 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1415, allocations: 0.5811 MB / 0.534 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009566/0.1424, allocations: 0.8373 MB / 0.5348 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008097/0.1432, allocations: 0.6909 MB / 0.5355 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.1463, allocations: 2.89 MB / 0.5383 GB, free: 1.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1463, allocations: 4 kB / 0.5383 GB, free: 1.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1463, allocations: 0 / 0.5383 GB, free: 1.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.326e-05/0.1464, allocations: 0 / 0.5383 GB, free: 1.172 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.1984/0.3448, allocations: 2.351 MB / 0.5406 GB, free: 24.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3448, allocations: 10.16 kB / 0.5406 GB, free: 24.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.892e-05/0.3449, allocations: 47.58 kB / 0.5406 GB, free: 24.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003698/0.3452, allocations: 356.2 kB / 0.541 GB, free: 24.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.3464, allocations: 285.4 kB / 0.5413 GB, free: 24.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.3478, allocations: 0.8429 MB / 0.5421 GB, free: 23.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.3478, allocations: 107.3 kB / 0.5422 GB, free: 23.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.3481, allocations: 151.7 kB / 0.5423 GB, free: 23.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007783/0.3559, allocations: 4.96 MB / 0.5472 GB, free: 22.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.3559, allocations: 12.12 kB / 0.5472 GB, free: 22.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.3561, allocations: 64.5 kB / 0.5472 GB, free: 22.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/0.3577, allocations: 1.004 MB / 0.5482 GB, free: 22.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007659/0.3654, allocations: 3.808 MB / 0.5519 GB, free: 21.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.383, allocations: 15.67 MB / 0.5672 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/0.3873, allocations: 1.2 MB / 0.5684 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.3881, allocations: 0.6073 MB / 0.569 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004784/0.3929, allocations: 3.009 MB / 0.5719 GB, free: 9.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3929, allocations: 47.41 kB / 0.572 GB, free: 9.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.514e-06/0.3929, allocations: 2.281 kB / 0.572 GB, free: 9.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.006327/0.3992, allocations: 1.787 MB / 0.5737 GB, free: 8.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3993, allocations: 115.8 kB / 0.5738 GB, free: 8.723 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.4012, allocations: 1.613 MB / 0.5754 GB, free: 7.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.4012, allocations: 33.11 kB / 0.5755 GB, free: 7.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.4018, allocations: 1.467 MB / 0.5769 GB, free: 6.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4019, allocations: 180.1 kB / 0.5771 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004663/0.4024, allocations: 474.4 kB / 0.5775 GB, free: 6.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.4025, allocations: 355.5 kB / 0.5778 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.4031, allocations: 0.5159 MB / 0.5784 GB, free: 5.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.4042, allocations: 2.06 MB / 0.5804 GB, free: 3.129 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.4065, allocations: 2.818 MB / 0.5831 GB, free: 296 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-05/0.4066, allocations: 15.12 kB / 0.5831 GB, free: 296 kB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003672/0.4103, allocations: 2.462 MB / 0.5855 GB, free: 14.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.4103, allocations: 31.94 kB / 0.5856 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.164e-05/0.4104, allocations: 56 kB / 0.5856 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.004e-05/0.4105, allocations: 76 kB / 0.5857 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.412, allocations: 0.5497 MB / 0.5862 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.204e-05/0.4121, allocations: 108.1 kB / 0.5863 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.4137, allocations: 352.4 kB / 0.5867 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.4139, allocations: 144 kB / 0.5868 GB, free: 13.19 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.001235/0.4151, allocations: 0.8616 MB / 0.5876 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.4154, allocations: 143 kB / 0.5878 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.4156, allocations: 153.6 kB / 0.5879 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.4156, allocations: 7 kB / 0.5879 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.4156, allocations: 0 / 0.5879 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4156, allocations: 11.98 kB / 0.5879 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.4204, allocations: 3.193 MB / 0.5911 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.4204, allocations: 12 kB / 0.5911 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.4208, allocations: 103.8 kB / 0.5912 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-05/0.4208, allocations: 18.12 kB / 0.5912 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.4208, allocations: 20 kB / 0.5912 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.085e-05/0.4208, allocations: 23.92 kB / 0.5912 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.193e-05/0.4209, allocations: 20.47 kB / 0.5913 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.422, allocations: 0.9028 MB / 0.5921 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.4223, allocations: 158.9 kB / 0.5923 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.4224, allocations: 27.98 kB / 0.5923 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.4229, allocations: 24 kB / 0.5923 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.423, allocations: 83.55 kB / 0.5924 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.423, allocations: 24 kB / 0.5924 GB, free: 7.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001388/0.4244, allocations: 0.9906 MB / 0.5934 GB, free: 6.039 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4244, allocations: 0 / 0.5934 GB, free: 6.039 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00191/0.4263, allocations: 490.6 kB / 0.5939 GB, free: 5.559 MB / 430.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.001473/0.4278, allocations: 1.473 MB / 0.5953 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.4299, allocations: 1.252 MB / 0.5965 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.4299, allocations: 7.938 kB / 0.5965 GB, free: 2.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.4302, allocations: 234.5 kB / 0.5968 GB, free: 2.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4313, allocations: 185 kB / 0.5969 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/0.4531, allocations: 15.48 MB / 0.6121 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.4547, allocations: 1.13 MB / 0.6132 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001575/0.4562, allocations: 0.6151 MB / 0.6138 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009635/0.4572, allocations: 0.7453 MB / 0.6145 GB, free: 14.09 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4572, allocations: 0 / 0.6145 GB, free: 14.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/0.5121, allocations: 25.79 MB / 0.6397 GB, free: 4.312 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/15.44, allocations: 11.97 kB / 0.6397 GB, free: 4.301 MB / 478.1 MB " [Timeout remaining time 644] (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: 18.94140079198405]