Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 106.6 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2274/0.2274, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB 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.001763/0.001763, allocations: 75.28 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1216, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01352/0.1352, allocations: 12.02 MB / 452.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1457, allocations: 4.383 MB / 457 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.1478, allocations: 71.81 kB / 457.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004933/0.1527, allocations: 2.756 MB / 459.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005138/0.158, allocations: 2.043 MB / 461.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.1601, allocations: 1.01 MB / 462.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006507/0.1666, allocations: 5.128 MB / 468 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004122/0.1707, allocations: 3.448 MB / 471.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.1736, allocations: 1.76 MB / 473.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003397/0.177, allocations: 2.453 MB / 475.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.1786, allocations: 368 kB / 476.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/0.1828, allocations: 1.408 MB / 477.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003638/0.1864, allocations: 2.201 MB / 479.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005626/0.1921, allocations: 2.583 MB / 482.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.2043, allocations: 8.002 MB / 490.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.2044, allocations: 4 kB / 490.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.312e-06/0.2044, allocations: 0 / 490.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003506/0.2048, allocations: 7.875 kB / 490.3 MB, free: 4.984 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02145/0.2262, allocations: 5.929 MB / 496.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.2263, allocations: 15.89 kB / 496.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002955/0.2293, allocations: 0.7906 MB / 497 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09065/0.32, allocations: 7.219 MB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.3313, allocations: 4.065 MB / 0.4964 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.3317, allocations: 250.8 kB / 0.4966 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/0.3337, allocations: 359.6 kB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02938/0.3631, allocations: 12.28 MB / 0.5089 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003723/0.3636, allocations: 51.53 kB / 0.509 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001854/0.3655, allocations: 163.8 kB / 0.5091 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00473/0.3702, allocations: 2.377 MB / 0.5115 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/0.3977, allocations: 10.7 MB / 0.5219 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3441/0.7418, allocations: 48.8 MB / 0.5696 GB, free: 51.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.7571, allocations: 5.853 MB / 0.5753 GB, free: 48.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00377/0.761, allocations: 3.114 MB / 0.5783 GB, free: 46.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01967/0.7807, allocations: 13.03 MB / 0.5911 GB, free: 36.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.7808, allocations: 59.81 kB / 0.5911 GB, free: 35.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=193): time 6.261e-06/0.7808, allocations: 0 / 0.5911 GB, free: 35.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.1146/0.8953, allocations: 38.8 MB / 0.629 GB, free: 13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.8955, allocations: 201.9 kB / 0.6292 GB, free: 12.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/0.906, allocations: 4.421 MB / 0.6335 GB, free: 8.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009448/0.907, allocations: 68.23 kB / 0.6336 GB, free: 8.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004007/0.9111, allocations: 3.44 MB / 0.6369 GB, free: 4.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00207/0.9132, allocations: 0.9454 MB / 0.6379 GB, free: 3.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004978/0.9182, allocations: 1.365 MB / 0.6392 GB, free: 2.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9183, allocations: 309 kB / 0.6395 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005608/0.9239, allocations: 3.113 MB / 0.6425 GB, free: 15.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009254/0.9332, allocations: 7.053 MB / 0.6494 GB, free: 6.082 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/0.9492, allocations: 10.96 MB / 0.6601 GB, free: 9.207 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/0.9494, allocations: 40 kB / 0.6602 GB, free: 9.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.0309/0.9803, allocations: 12.67 MB / 0.6725 GB, free: 12.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002147/0.9805, allocations: 64 kB / 0.6726 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003245/0.9809, allocations: 139.9 kB / 0.6727 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.9915, allocations: 3.248 MB / 0.6759 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007042/0.9986, allocations: 1.54 MB / 0.6774 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03046/1.029, allocations: 16.61 MB / 0.6936 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006521/1.036, allocations: 435.3 kB / 0.694 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.037, allocations: 408 kB / 0.6944 GB, free: 5.918 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00619/1.044, allocations: 2.353 MB / 0.6967 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/1.045, allocations: 410.7 kB / 0.6971 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/1.063, allocations: 7.53 MB / 0.7045 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.875e-05/1.063, allocations: 24 kB / 0.7045 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.209e-05/1.063, allocations: 12 kB / 0.7045 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.622e-05/1.063, allocations: 11.95 kB / 0.7045 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3246/1.388, allocations: 15.2 MB / 0.7193 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-05/1.388, allocations: 1.094 kB / 0.7193 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/1.39, allocations: 378 kB / 0.7197 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008937/1.399, allocations: 2.932 MB / 0.7226 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005204/1.4, allocations: 46.19 kB / 0.7226 GB, free: 165.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02081/1.421, allocations: 14.78 MB / 0.7371 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.421, allocations: 0 / 0.7371 GB, free: 161 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/1.439, allocations: 11.47 MB / 0.7483 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003365/1.442, allocations: 0.9219 MB / 0.7492 GB, free: 156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008139/1.443, allocations: 38.81 kB / 0.7492 GB, free: 156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.445, allocations: 195.1 kB / 0.7494 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007091/1.446, allocations: 149.1 kB / 0.7495 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.446, allocations: 66.95 kB / 0.7496 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004664/1.451, allocations: 2.773 MB / 0.7523 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/1.451, allocations: 0 / 0.7523 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00708/1.458, allocations: 1.31 MB / 0.7536 GB, free: 151.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01805/1.476, allocations: 12.15 MB / 0.7654 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01532/1.492, allocations: 10.36 MB / 0.7756 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.492, allocations: 2 kB / 0.7756 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004641/1.496, allocations: 3.123 MB / 0.7786 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/1.5, allocations: 0.5141 MB / 0.7791 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08175/1.581, allocations: 68.53 MB / 0.846 GB, free: 48.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006583/1.588, allocations: 3.683 MB / 0.8496 GB, free: 45.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006514/1.595, allocations: 2.171 MB / 0.8518 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004018/1.599, allocations: 2.225 MB / 0.8539 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of SimCode: time 1.653e-06/1.599, allocations: 0 / 0.8539 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3579/1.957, allocations: 98.63 MB / 0.9502 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/14.43, allocations: 6 kB / 0.9502 GB, free: 153.7 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches