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.001749/0.001749, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002153/0.002153, allocations: 214.1 kB / 22.99 MB, free: 4.977 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.433/1.433, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2162/0.2162, allocations: 44.27 MB / 330.3 MB, free: 9.309 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.002259/0.002259, allocations: 75.89 kB / 467.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.113, allocations: 61.05 MB / 0.5162 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01006/0.1231, allocations: 8.069 MB / 0.524 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005544/0.1286, allocations: 2.577 MB / 0.5266 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000938/0.1296, allocations: 39.94 kB / 0.5266 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.1323, allocations: 1.281 MB / 0.5279 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.1337, allocations: 0.5792 MB / 0.5284 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009593/0.1347, allocations: 419.1 kB / 0.5288 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.1362, allocations: 1.242 MB / 0.53 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.1376, allocations: 1.082 MB / 0.5311 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008493/0.1385, allocations: 0.6188 MB / 0.5317 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.1398, allocations: 0.8484 MB / 0.5325 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.14, allocations: 128 kB / 0.5326 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009956/0.141, allocations: 0.5694 MB / 0.5332 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000861/0.1419, allocations: 0.8335 MB / 0.534 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008994/0.1428, allocations: 0.6986 MB / 0.5347 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003704/0.1465, allocations: 2.886 MB / 0.5375 GB, free: 1.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1465, allocations: 0 / 0.5375 GB, free: 1.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1465, allocations: 0 / 0.5375 GB, free: 1.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.489e-05/0.1466, allocations: 8 kB / 0.5375 GB, free: 1.184 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.2075/0.354, allocations: 2.354 MB / 0.5398 GB, free: 28.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3541, allocations: 12.03 kB / 0.5398 GB, free: 28.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003975/0.3545, allocations: 346 kB / 0.5402 GB, free: 28.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.3557, allocations: 288.9 kB / 0.5404 GB, free: 28.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.3572, allocations: 0.8439 MB / 0.5413 GB, free: 28.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/0.3572, allocations: 110.7 kB / 0.5414 GB, free: 28.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.3575, allocations: 140.3 kB / 0.5415 GB, free: 28.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009073/0.3666, allocations: 4.968 MB / 0.5464 GB, free: 26.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/0.3666, allocations: 13 kB / 0.5464 GB, free: 26.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.3668, allocations: 63.92 kB / 0.5464 GB, free: 26.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001616/0.3684, allocations: 1.002 MB / 0.5474 GB, free: 25.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009066/0.3775, allocations: 3.8 MB / 0.5511 GB, free: 24.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.3977, allocations: 15.67 MB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004279/0.402, allocations: 1.199 MB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/0.4028, allocations: 0.6045 MB / 0.5682 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005188/0.408, allocations: 3.012 MB / 0.5711 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.408, allocations: 39.67 kB / 0.5712 GB, free: 12.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.495e-06/0.408, allocations: 0 / 0.5712 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.006074/0.4141, allocations: 1.797 MB / 0.5729 GB, free: 11.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.4141, allocations: 112.1 kB / 0.573 GB, free: 11.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.416, allocations: 1.7 MB / 0.5747 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.4161, allocations: 36.19 kB / 0.5747 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/0.4167, allocations: 1.455 MB / 0.5761 GB, free: 9.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.4168, allocations: 192.1 kB / 0.5763 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/0.4172, allocations: 474.2 kB / 0.5768 GB, free: 8.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.4173, allocations: 354.6 kB / 0.5771 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.418, allocations: 0.5187 MB / 0.5776 GB, free: 8.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.4191, allocations: 2.06 MB / 0.5796 GB, free: 5.633 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.4211, allocations: 2.824 MB / 0.5824 GB, free: 2.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-05/0.4212, allocations: 16 kB / 0.5824 GB, free: 2.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00317/0.4243, allocations: 2.463 MB / 0.5848 GB, free: 252 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.4244, allocations: 32 kB / 0.5848 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/0.4244, allocations: 52 kB / 0.5849 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.585e-05/0.4245, allocations: 87.09 kB / 0.585 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.426, allocations: 0.538 MB / 0.5855 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/0.4261, allocations: 107.6 kB / 0.5856 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.4278, allocations: 345.5 kB / 0.5859 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.428, allocations: 144 kB / 0.5861 GB, free: 14.96 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.001504/0.4295, allocations: 0.8646 MB / 0.5869 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003452/0.4299, allocations: 147 kB / 0.5871 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.4302, allocations: 153.6 kB / 0.5872 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4302, allocations: 9.344 kB / 0.5872 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.4302, allocations: 0 / 0.5872 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4302, allocations: 4 kB / 0.5872 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/0.4359, allocations: 3.193 MB / 0.5903 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.4359, allocations: 13.12 kB / 0.5903 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.4363, allocations: 99.92 kB / 0.5904 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/0.4363, allocations: 19.94 kB / 0.5905 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.4364, allocations: 28 kB / 0.5905 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-05/0.4364, allocations: 23.86 kB / 0.5905 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.74e-05/0.4364, allocations: 19.94 kB / 0.5905 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.4375, allocations: 0.8976 MB / 0.5914 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.4379, allocations: 166.8 kB / 0.5916 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.4381, allocations: 23.98 kB / 0.5916 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.4385, allocations: 28.86 kB / 0.5916 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.4386, allocations: 67.69 kB / 0.5917 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.4387, allocations: 31.94 kB / 0.5917 GB, free: 8.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001393/0.4401, allocations: 0.9945 MB / 0.5927 GB, free: 7.781 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4401, allocations: 0 / 0.5927 GB, free: 7.781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002036/0.4421, allocations: 490.6 kB / 0.5931 GB, free: 7.301 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.001517/0.4436, allocations: 1.478 MB / 0.5946 GB, free: 5.641 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.4459, allocations: 1.246 MB / 0.5958 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/0.4459, allocations: 0.8125 kB / 0.5958 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.4463, allocations: 229.6 kB / 0.596 GB, free: 4.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.4475, allocations: 204 kB / 0.5962 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/0.4706, allocations: 15.48 MB / 0.6113 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.4723, allocations: 1.125 MB / 0.6124 GB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001692/0.4739, allocations: 0.6201 MB / 0.613 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009918/0.4749, allocations: 0.7415 MB / 0.6138 GB, free: 15.81 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4749, allocations: 3.938 kB / 0.6138 GB, free: 15.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.5365, allocations: 25.15 MB / 0.6383 GB, free: 6.656 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.72, allocations: 7.969 kB / 0.6383 GB, free: 6.648 MB / 478.1 MB " [Timeout remaining time 647] (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.85370947001502]