Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",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.001605/0.001606, allocations: 103 kB / 16.27 MB, free: 5.93 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.001734/0.001734, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.398/1.398, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2085/0.2086, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.00273/0.00273, allocations: 73.83 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.123, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01496/0.138, allocations: 17.05 MB / 457.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009251/0.1473, allocations: 3.879 MB / 461.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.1504, allocations: 103.8 kB / 461.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004215/0.1547, allocations: 2.168 MB / 463.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005699/0.1604, allocations: 2.518 MB / 466.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1615, allocations: 295.5 kB / 466.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008481/0.17, allocations: 6.352 MB / 473 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004337/0.1743, allocations: 3.338 MB / 476.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.1775, allocations: 2.141 MB / 478.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003552/0.1811, allocations: 2.783 MB / 481.2 MB, free: 14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009837/0.1821, allocations: 392 kB / 481.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.184, allocations: 0.792 MB / 482.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002687/0.1867, allocations: 2.785 MB / 485.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005456/0.1922, allocations: 3.353 MB / 488.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.2047, allocations: 10.15 MB / 498.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.2047, allocations: 0 / 498.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2047, allocations: 4 kB / 498.7 MB, free: 12.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004178/0.2052, allocations: 0 / 498.7 MB, free: 12.47 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01568/0.2208, allocations: 7.033 MB / 0.4939 GB, free: 5.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.2209, allocations: 11.89 kB / 0.4939 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002072/0.223, allocations: 1.28 MB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01944/0.2425, allocations: 5.855 MB / 0.5009 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007343/0.2498, allocations: 3.253 MB / 0.504 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.2502, allocations: 328 kB / 0.5044 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/0.252, allocations: 419.6 kB / 0.5048 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/0.2823, allocations: 18.88 MB / 0.5232 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.584e-05/0.2824, allocations: 35.62 kB / 0.5232 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007497/0.2832, allocations: 207.6 kB / 0.5234 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007749/0.291, allocations: 4.75 MB / 0.5281 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2768/0.5678, allocations: 17.52 MB / 0.5452 GB, free: 74.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0767/0.6445, allocations: 61.24 MB / 0.605 GB, free: 19.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.6571, allocations: 8.427 MB / 0.6132 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00304/0.6602, allocations: 2.589 MB / 0.6157 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0179/0.6781, allocations: 11.87 MB / 0.6273 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.6782, allocations: 60.56 kB / 0.6274 GB, free: 11.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=321): time 8.746e-06/0.6782, allocations: 0 / 0.6274 GB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=321): time 0.01833/0.6966, allocations: 7.517 MB / 0.6347 GB, free: 3.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.6967, allocations: 107.1 kB / 0.6348 GB, free: 3.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008724/0.7054, allocations: 5.668 MB / 0.6404 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000392/0.7059, allocations: 64.12 kB / 0.6404 GB, free: 13.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003265/0.7091, allocations: 5.072 MB / 0.6454 GB, free: 8.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001389/0.7105, allocations: 1.199 MB / 0.6466 GB, free: 7.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00235/0.7129, allocations: 1.904 MB / 0.6484 GB, free: 5.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.713, allocations: 301.1 kB / 0.6487 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004882/0.7179, allocations: 3.208 MB / 0.6518 GB, free: 2.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009881/0.7278, allocations: 8.658 MB / 0.6603 GB, free: 6.812 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/0.7437, allocations: 12.92 MB / 0.6729 GB, free: 7.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001938/0.7439, allocations: 59.94 kB / 0.673 GB, free: 7.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02318/0.7671, allocations: 11.63 MB / 0.6843 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.7673, allocations: 84.62 kB / 0.6844 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/0.7675, allocations: 192.9 kB / 0.6846 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.7677, allocations: 252 kB / 0.6848 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006761/0.7745, allocations: 2.082 MB / 0.6869 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003314/0.7749, allocations: 370.6 kB / 0.6872 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007524/0.7824, allocations: 1.322 MB / 0.6885 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/0.7841, allocations: 0.5547 MB / 0.6891 GB, free: 6.668 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.007463/0.7916, allocations: 3.713 MB / 0.6927 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/0.7928, allocations: 481.5 kB / 0.6931 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.7947, allocations: 0.645 MB / 0.6938 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001234/0.7949, allocations: 59.97 kB / 0.6938 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.221e-05/0.7949, allocations: 0 / 0.6938 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.003e-05/0.795, allocations: 15.95 kB / 0.6938 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0279/0.8229, allocations: 12.63 MB / 0.7062 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/0.8229, allocations: 23.97 kB / 0.7062 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.8249, allocations: 415.3 kB / 0.7066 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.892e-05/0.825, allocations: 24 kB / 0.7066 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003168/0.8253, allocations: 63.98 kB / 0.7067 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.301e-05/0.8254, allocations: 31.86 kB / 0.7067 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/0.8254, allocations: 19.94 kB / 0.7067 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006782/0.8322, allocations: 4.642 MB / 0.7113 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.8336, allocations: 0.5527 MB / 0.7118 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/0.8347, allocations: 64.02 kB / 0.7119 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.837, allocations: 127.8 kB / 0.712 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/0.8374, allocations: 180.8 kB / 0.7122 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/0.8377, allocations: 95.98 kB / 0.7122 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007015/0.8447, allocations: 3.494 MB / 0.7157 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8447, allocations: 0 / 0.7157 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00928/0.854, allocations: 1.987 MB / 0.7176 GB, free: 8.879 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.008229/0.8622, allocations: 5.32 MB / 0.7228 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2195/1.082, allocations: 12.63 MB / 0.7351 GB, free: 182 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/1.082, allocations: 4.062 kB / 0.7351 GB, free: 182 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002951/1.085, allocations: 2.002 MB / 0.7371 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/1.088, allocations: 0.6208 MB / 0.7377 GB, free: 181.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/1.202, allocations: 77.98 MB / 0.8138 GB, free: 102.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006503/1.208, allocations: 5.414 MB / 0.8191 GB, free: 97.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007697/1.216, allocations: 3.549 MB / 0.8226 GB, free: 93.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005495/1.222, allocations: 3.323 MB / 0.8258 GB, free: 90.47 MB / 0.5137 GB Notification: Performance of SimCode: time 1.313e-06/1.222, allocations: 0 / 0.8258 GB, free: 90.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/1.351, allocations: 97.02 MB / 0.9206 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.96, allocations: 4 kB / 0.9206 GB, free: 9.352 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches