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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 112 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 192.6 kB / 20.08 MB, free: 2.852 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.511/1.511, allocations: 207.6 MB / 230.5 MB, free: 4.086 MB / 174.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.3361/0.3361, allocations: 44.23 MB / 326.5 MB, free: 6.82 MB / 254.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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 71.89 kB / 462.2 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2552, allocations: 60.99 MB / 0.5109 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007843/0.263, allocations: 9.231 MB / 0.5199 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.2677, allocations: 2.713 MB / 0.5226 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009659/0.2686, allocations: 43.88 kB / 0.5226 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.2707, allocations: 1.328 MB / 0.5239 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.2718, allocations: 0.5675 MB / 0.5245 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008596/0.2727, allocations: 419.1 kB / 0.5249 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2741, allocations: 1.25 MB / 0.5261 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.2754, allocations: 1.102 MB / 0.5272 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007345/0.2761, allocations: 0.611 MB / 0.5278 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.2774, allocations: 0.8992 MB / 0.5286 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.2777, allocations: 128 kB / 0.5288 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.2787, allocations: 0.6084 MB / 0.5294 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000804/0.2795, allocations: 0.8257 MB / 0.5302 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000948/0.2805, allocations: 0.9355 MB / 0.5311 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.2837, allocations: 2.865 MB / 0.5339 GB, free: 7.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2837, allocations: 0 / 0.5339 GB, free: 7.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2837, allocations: 0 / 0.5339 GB, free: 7.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.515e-05/0.2837, allocations: 0 / 0.5339 GB, free: 7.383 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.004704/0.2884, allocations: 2.435 MB / 0.5363 GB, free: 4.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2885, allocations: 15.89 kB / 0.5363 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004446/0.2889, allocations: 347.8 kB / 0.5366 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.2901, allocations: 291.2 kB / 0.5369 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.2919, allocations: 0.8931 MB / 0.5378 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.048e-05/0.292, allocations: 111.1 kB / 0.5379 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.2923, allocations: 155.7 kB / 0.538 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008249/0.3005, allocations: 4.908 MB / 0.5428 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.3006, allocations: 7.938 kB / 0.5428 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.3007, allocations: 63.94 kB / 0.5429 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001712/0.3024, allocations: 1.003 MB / 0.5438 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007815/0.3102, allocations: 3.807 MB / 0.5476 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.3328, allocations: 16.33 MB / 0.5635 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.337, allocations: 1.204 MB / 0.5647 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008891/0.3379, allocations: 0.6052 MB / 0.5653 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006361/0.3442, allocations: 4.043 MB / 0.5692 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.3443, allocations: 50.42 kB / 0.5693 GB, free: 2.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.415e-06/0.3443, allocations: 0 / 0.5693 GB, free: 2.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006338/0.3506, allocations: 1.78 MB / 0.571 GB, free: 224 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.3507, allocations: 106.8 kB / 0.5711 GB, free: 92 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.3531, allocations: 1.612 MB / 0.5727 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.3531, allocations: 33.95 kB / 0.5727 GB, free: 14.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.3543, allocations: 1.467 MB / 0.5742 GB, free: 12.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.3544, allocations: 182.7 kB / 0.5743 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005597/0.355, allocations: 472.1 kB / 0.5748 GB, free: 12.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3552, allocations: 357.9 kB / 0.5751 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007929/0.356, allocations: 0.512 MB / 0.5756 GB, free: 11.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.3582, allocations: 2.062 MB / 0.5776 GB, free: 8.582 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.3616, allocations: 2.823 MB / 0.5804 GB, free: 4.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/0.3616, allocations: 16 kB / 0.5804 GB, free: 4.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003938/0.3656, allocations: 2.463 MB / 0.5828 GB, free: 2.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.3656, allocations: 28 kB / 0.5828 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.937e-05/0.3657, allocations: 56 kB / 0.5829 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.091e-05/0.3658, allocations: 72 kB / 0.583 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.3672, allocations: 0.5419 MB / 0.5835 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.324e-05/0.3673, allocations: 115.5 kB / 0.5836 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.3688, allocations: 349.4 kB / 0.5839 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.369, allocations: 143.9 kB / 0.5841 GB, free: 1.203 MB / 446.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.001214/0.3702, allocations: 0.8634 MB / 0.5849 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.3704, allocations: 147 kB / 0.5851 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.3706, allocations: 153.6 kB / 0.5852 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3707, allocations: 4 kB / 0.5852 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3707, allocations: 0 / 0.5852 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3707, allocations: 3.984 kB / 0.5852 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005001/0.3757, allocations: 3.287 MB / 0.5884 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.3757, allocations: 12 kB / 0.5884 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.376, allocations: 99.86 kB / 0.5885 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/0.376, allocations: 20 kB / 0.5885 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.3761, allocations: 24 kB / 0.5886 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/0.3761, allocations: 19.94 kB / 0.5886 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.3761, allocations: 15.94 kB / 0.5886 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.3772, allocations: 0.9052 MB / 0.5895 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.3776, allocations: 232 kB / 0.5897 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.3777, allocations: 23.98 kB / 0.5897 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.3782, allocations: 27.98 kB / 0.5898 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.3783, allocations: 79.58 kB / 0.5898 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.3783, allocations: 32 kB / 0.5899 GB, free: 10.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001375/0.3797, allocations: 0.9906 MB / 0.5908 GB, free: 9.836 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3797, allocations: 0 / 0.5908 GB, free: 9.836 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001926/0.3816, allocations: 482.7 kB / 0.5913 GB, free: 9.363 MB / 462.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.001514/0.3831, allocations: 1.482 MB / 0.5927 GB, free: 7.695 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.3853, allocations: 1.256 MB / 0.594 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.3853, allocations: 0 / 0.594 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.3856, allocations: 234.4 kB / 0.5942 GB, free: 6.227 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.3866, allocations: 187 kB / 0.5944 GB, free: 6.043 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/0.4089, allocations: 15.49 MB / 0.6095 GB, free: 4.371 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.4108, allocations: 1.714 MB / 0.6112 GB, free: 2.625 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001515/0.4123, allocations: 0.6139 MB / 0.6118 GB, free: 2.004 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009055/0.4132, allocations: 0.7492 MB / 0.6125 GB, free: 1.254 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4132, allocations: 0 / 0.6125 GB, free: 1.254 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.4703, allocations: 24.72 MB / 0.6366 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.47, allocations: 19.86 kB / 0.6367 GB, free: 8.48 MB / 0.4981 GB " [Timeout remaining time 648] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.8426918159239]