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.001672/0.001672, allocations: 101.8 kB / 16.27 MB, free: 5.973 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.001847/0.001847, allocations: 184.3 kB / 17.19 MB, free: 5.609 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.319/1.319, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.214/0.214, allocations: 43.53 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.00169/0.00169, allocations: 66.59 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.117, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01604/0.1331, allocations: 17.05 MB / 457.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009613/0.1428, allocations: 3.879 MB / 461.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.1464, allocations: 99.81 kB / 461.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005156/0.1515, allocations: 2.171 MB / 463.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006957/0.1586, allocations: 2.514 MB / 466.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.16, allocations: 299.5 kB / 466.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009179/0.1692, allocations: 6.353 MB / 473 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005316/0.1745, allocations: 3.338 MB / 476.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.1781, allocations: 2.137 MB / 478.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004074/0.1822, allocations: 2.791 MB / 481.2 MB, free: 14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001566/0.1838, allocations: 392 kB / 481.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.1869, allocations: 0.7841 MB / 482.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004114/0.1911, allocations: 2.785 MB / 485.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00817/0.1993, allocations: 3.349 MB / 488.5 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.2135, allocations: 10.15 MB / 498.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.2136, allocations: 4 kB / 498.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2136, allocations: 4 kB / 498.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004316/0.214, allocations: 0 / 498.7 MB, free: 12.48 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.01844/0.2325, allocations: 7.029 MB / 0.4939 GB, free: 5.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.2326, allocations: 19.83 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003906/0.2365, allocations: 1.272 MB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02065/0.2571, allocations: 5.851 MB / 0.5009 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009043/0.2662, allocations: 3.261 MB / 0.504 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000426/0.2667, allocations: 328 kB / 0.5044 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002411/0.2691, allocations: 415.7 kB / 0.5048 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03877/0.3079, allocations: 18.89 MB / 0.5232 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/0.3082, allocations: 31.69 kB / 0.5232 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002837/0.3111, allocations: 207.7 kB / 0.5234 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008569/0.3196, allocations: 4.75 MB / 0.5281 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2821/0.6018, allocations: 17.52 MB / 0.5452 GB, free: 74.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07125/0.6731, allocations: 61.25 MB / 0.605 GB, free: 19.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.6856, allocations: 8.42 MB / 0.6132 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/0.6887, allocations: 2.593 MB / 0.6157 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01935/0.7081, allocations: 11.87 MB / 0.6273 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.7082, allocations: 60.56 kB / 0.6274 GB, free: 11.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=321): time 9.408e-06/0.7082, allocations: 0 / 0.6274 GB, free: 11.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=321): time 0.01932/0.7275, allocations: 7.516 MB / 0.6347 GB, free: 3.738 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.7277, allocations: 103.1 kB / 0.6348 GB, free: 3.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/0.7399, allocations: 5.668 MB / 0.6404 GB, free: 13.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005335/0.7405, allocations: 61.45 kB / 0.6404 GB, free: 13.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004381/0.7449, allocations: 5.076 MB / 0.6454 GB, free: 8.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001853/0.7468, allocations: 1.199 MB / 0.6466 GB, free: 7.578 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004939/0.7517, allocations: 1.904 MB / 0.6484 GB, free: 5.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.7518, allocations: 301.1 kB / 0.6487 GB, free: 5.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005448/0.7573, allocations: 3.212 MB / 0.6518 GB, free: 2.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009802/0.7671, allocations: 8.654 MB / 0.6603 GB, free: 6.812 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01589/0.783, allocations: 12.92 MB / 0.6729 GB, free: 7.223 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002426/0.7833, allocations: 55.94 kB / 0.673 GB, free: 7.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02237/0.8057, allocations: 11.64 MB / 0.6843 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.8061, allocations: 88 kB / 0.6844 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000487/0.8066, allocations: 188.8 kB / 0.6846 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.807, allocations: 252 kB / 0.6848 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006828/0.8138, allocations: 2.074 MB / 0.6869 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/0.8143, allocations: 378.5 kB / 0.6872 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007051/0.8213, allocations: 1.326 MB / 0.6885 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/0.8227, allocations: 0.5508 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.006682/0.8294, allocations: 3.71 MB / 0.6927 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/0.8305, allocations: 485.5 kB / 0.6931 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.8322, allocations: 0.6489 MB / 0.6938 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/0.8323, allocations: 51.98 kB / 0.6938 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/0.8323, allocations: 0 / 0.6938 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/0.8324, allocations: 15.89 kB / 0.6938 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/0.861, allocations: 12.64 MB / 0.7062 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-05/0.8611, allocations: 16.25 kB / 0.7062 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/0.8631, allocations: 423.3 kB / 0.7066 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.782e-05/0.8632, allocations: 24 kB / 0.7066 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003814/0.8636, allocations: 59.98 kB / 0.7067 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-05/0.8636, allocations: 27.94 kB / 0.7067 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-05/0.8637, allocations: 24 kB / 0.7067 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007982/0.8717, allocations: 4.645 MB / 0.7113 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002797/0.8745, allocations: 0.5566 MB / 0.7118 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001716/0.8763, allocations: 55.98 kB / 0.7119 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/0.8786, allocations: 127.8 kB / 0.712 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004166/0.8791, allocations: 180.8 kB / 0.7122 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002397/0.8793, allocations: 99.98 kB / 0.7122 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007614/0.887, allocations: 3.494 MB / 0.7157 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.91e-07/0.887, allocations: 0 / 0.7157 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008363/0.8953, allocations: 1.987 MB / 0.7176 GB, free: 8.875 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.008152/0.9035, allocations: 5.312 MB / 0.7228 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2267/1.13, allocations: 12.63 MB / 0.7351 GB, free: 182 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/1.13, allocations: 2.438 kB / 0.7351 GB, free: 182 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/1.134, allocations: 2.01 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.003451/1.137, allocations: 0.6211 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.09152/1.229, allocations: 77.97 MB / 0.8138 GB, free: 102.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00716/1.236, allocations: 5.418 MB / 0.8191 GB, free: 97.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007757/1.244, allocations: 3.546 MB / 0.8226 GB, free: 93.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004689/1.248, allocations: 3.331 MB / 0.8258 GB, free: 90.58 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/1.248, allocations: 0 / 0.8258 GB, free: 90.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2257/1.474, allocations: 97.02 MB / 0.9206 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/13, allocations: 4 kB / 0.9206 GB, free: 9.469 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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