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.001414/0.001414, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.00151/0.00151, allocations: 203 kB / 20.79 MB, free: 2.297 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.457/1.457, allocations: 207.6 MB / 231.2 MB, free: 4.137 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.3229/0.3229, allocations: 44.22 MB / 327.3 MB, free: 6.703 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.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.002423/0.002423, allocations: 79.89 kB / 462.9 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.257, allocations: 61.01 MB / 0.5117 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007506/0.2645, allocations: 9.224 MB / 0.5207 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.269, allocations: 2.713 MB / 0.5233 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.2704, allocations: 39.94 kB / 0.5233 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.2726, allocations: 1.335 MB / 0.5247 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.2739, allocations: 0.5636 MB / 0.5252 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.2747, allocations: 415.1 kB / 0.5256 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.2763, allocations: 1.255 MB / 0.5268 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.2779, allocations: 1.098 MB / 0.5279 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009654/0.2788, allocations: 0.6188 MB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.2803, allocations: 0.9031 MB / 0.5294 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003527/0.2807, allocations: 128 kB / 0.5295 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.2819, allocations: 0.6123 MB / 0.5301 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009721/0.2828, allocations: 0.8217 MB / 0.5309 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.2839, allocations: 0.9394 MB / 0.5318 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.2873, allocations: 2.857 MB / 0.5346 GB, free: 7.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.2873, allocations: 7.984 kB / 0.5346 GB, free: 7.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2873, allocations: 0 / 0.5346 GB, free: 7.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.439e-05/0.2873, allocations: 4 kB / 0.5346 GB, free: 7.332 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.004863/0.2922, allocations: 2.432 MB / 0.537 GB, free: 4.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2922, allocations: 15.89 kB / 0.537 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.842e-05/0.2923, allocations: 47.02 kB / 0.5371 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004185/0.2927, allocations: 351.9 kB / 0.5374 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.294, allocations: 291.2 kB / 0.5377 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.2955, allocations: 0.893 MB / 0.5385 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.2956, allocations: 114.9 kB / 0.5387 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.2959, allocations: 143.9 kB / 0.5388 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008897/0.3048, allocations: 4.901 MB / 0.5436 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.3048, allocations: 15.88 kB / 0.5436 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.305, allocations: 71.92 kB / 0.5437 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001786/0.3068, allocations: 0.995 MB / 0.5446 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008311/0.3151, allocations: 3.815 MB / 0.5484 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02289/0.338, allocations: 16.32 MB / 0.5643 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/0.3425, allocations: 1.204 MB / 0.5655 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009845/0.3435, allocations: 0.6013 MB / 0.5661 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006131/0.3496, allocations: 4.059 MB / 0.57 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.3497, allocations: 34.56 kB / 0.5701 GB, free: 1.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.514e-06/0.3497, allocations: 4 kB / 0.5701 GB, free: 1.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006915/0.3566, allocations: 1.78 MB / 0.5718 GB, free: 132 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3567, allocations: 110.9 kB / 0.5719 GB, free: 15.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.3594, allocations: 1.608 MB / 0.5735 GB, free: 14.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.3594, allocations: 33.7 kB / 0.5735 GB, free: 14.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.3606, allocations: 1.467 MB / 0.5749 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.3608, allocations: 186.7 kB / 0.5751 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000678/0.3615, allocations: 480 kB / 0.5756 GB, free: 12.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3617, allocations: 353.9 kB / 0.5759 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008857/0.3626, allocations: 0.512 MB / 0.5764 GB, free: 11.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.3652, allocations: 2.062 MB / 0.5784 GB, free: 8.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/0.3686, allocations: 2.811 MB / 0.5812 GB, free: 4.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.286e-05/0.3687, allocations: 20 kB / 0.5812 GB, free: 4.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.004223/0.3729, allocations: 2.471 MB / 0.5836 GB, free: 2.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.3729, allocations: 32.03 kB / 0.5836 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.859e-05/0.373, allocations: 56 kB / 0.5837 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-05/0.3731, allocations: 72 kB / 0.5838 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.3747, allocations: 0.5459 MB / 0.5843 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001/0.3748, allocations: 107.6 kB / 0.5844 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.3764, allocations: 345.4 kB / 0.5847 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.3765, allocations: 144 kB / 0.5849 GB, free: 1.109 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.001304/0.3779, allocations: 0.8595 MB / 0.5857 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.3781, allocations: 147 kB / 0.5858 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.3785, allocations: 157.6 kB / 0.586 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3785, allocations: 4 kB / 0.586 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3785, allocations: 0 / 0.586 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3785, allocations: 0 / 0.586 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/0.3836, allocations: 3.286 MB / 0.5892 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/0.3836, allocations: 12.97 kB / 0.5892 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.384, allocations: 99.83 kB / 0.5893 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.939e-05/0.384, allocations: 20 kB / 0.5893 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.384, allocations: 20 kB / 0.5893 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.407e-05/0.384, allocations: 31.86 kB / 0.5894 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/0.384, allocations: 15.94 kB / 0.5894 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3852, allocations: 0.9052 MB / 0.5903 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.3855, allocations: 232 kB / 0.5905 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.3857, allocations: 20 kB / 0.5905 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.3862, allocations: 27.98 kB / 0.5905 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.3863, allocations: 71.64 kB / 0.5906 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.3863, allocations: 32 kB / 0.5906 GB, free: 10.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001453/0.3878, allocations: 0.9945 MB / 0.5916 GB, free: 9.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3878, allocations: 0 / 0.5916 GB, free: 9.746 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00189/0.3897, allocations: 490.6 kB / 0.5921 GB, free: 9.266 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.001453/0.3911, allocations: 1.478 MB / 0.5935 GB, free: 7.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3931, allocations: 1.252 MB / 0.5947 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3932, allocations: 0 / 0.5947 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.3935, allocations: 234.5 kB / 0.595 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3945, allocations: 192.3 kB / 0.5952 GB, free: 5.949 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/0.4167, allocations: 15.49 MB / 0.6103 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.4184, allocations: 1.714 MB / 0.612 GB, free: 2.531 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001494/0.4199, allocations: 0.6217 MB / 0.6126 GB, free: 1.902 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009339/0.4209, allocations: 0.7414 MB / 0.6133 GB, free: 1.16 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4209, allocations: 4 kB / 0.6133 GB, free: 1.156 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05067/0.4715, allocations: 24.75 MB / 0.6375 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.09, allocations: 15.98 kB / 0.6375 GB, free: 8.359 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/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: 15.657639291021042]