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.001292/0.001292, allocations: 108.9 kB / 16.41 MB, free: 6.496 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.001289/0.001289, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.248/1.248, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1874/0.1874, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.001305/0.001305, allocations: 71.89 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.09066, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01586/0.1066, allocations: 17.04 MB / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007378/0.114, allocations: 3.898 MB / 0.5079 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.116, allocations: 99.81 kB / 0.508 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004042/0.1201, allocations: 2.172 MB / 0.5101 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005237/0.1254, allocations: 2.592 MB / 0.5126 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.1262, allocations: 299.5 kB / 0.5129 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007648/0.1339, allocations: 6.368 MB / 0.5191 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004325/0.1382, allocations: 3.319 MB / 0.5224 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.1415, allocations: 2.133 MB / 0.5245 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003478/0.145, allocations: 2.791 MB / 0.5272 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.146, allocations: 392 kB / 0.5276 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.1478, allocations: 0.7998 MB / 0.5283 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1944/0.3422, allocations: 2.786 MB / 0.5311 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004589/0.3469, allocations: 3.346 MB / 0.5343 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.3596, allocations: 10.76 MB / 0.5448 GB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3596, allocations: 0 / 0.5448 GB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3596, allocations: 0 / 0.5448 GB, free: 6.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004701/0.3601, allocations: 2.062 kB / 0.5448 GB, free: 6.484 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.0201/0.3802, allocations: 7.246 MB / 0.5519 GB, free: 3.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.3803, allocations: 16.36 kB / 0.5519 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003331/0.3836, allocations: 1.272 MB / 0.5532 GB, free: 3.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0199/0.4035, allocations: 5.911 MB / 0.5589 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008283/0.4119, allocations: 3.31 MB / 0.5622 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.4121, allocations: 322.1 kB / 0.5625 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/0.4139, allocations: 419.5 kB / 0.5629 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03057/0.4445, allocations: 18.9 MB / 0.5813 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.4446, allocations: 35.97 kB / 0.5814 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008235/0.4455, allocations: 202.6 kB / 0.5816 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007342/0.4528, allocations: 4.745 MB / 0.5862 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0326/0.4854, allocations: 17.53 MB / 0.6033 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0985/0.584, allocations: 60.98 MB / 0.6629 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/0.5996, allocations: 8.421 MB / 0.6711 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003948/0.6036, allocations: 2.579 MB / 0.6736 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02333/0.627, allocations: 11.9 MB / 0.6852 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.627, allocations: 56.56 kB / 0.6853 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.584e-06/0.6271, allocations: 0 / 0.6853 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01878/0.6458, allocations: 7.534 MB / 0.6926 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.646, allocations: 105.8 kB / 0.6927 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/0.6565, allocations: 5.693 MB / 0.6983 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004054/0.657, allocations: 63.97 kB / 0.6984 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003921/0.6609, allocations: 5.285 MB / 0.7035 GB, free: 8.363 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001625/0.6626, allocations: 1.255 MB / 0.7047 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003841/0.6664, allocations: 1.924 MB / 0.7066 GB, free: 5.199 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.6665, allocations: 301.1 kB / 0.7069 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005007/0.6715, allocations: 3.208 MB / 0.71 GB, free: 1.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008706/0.6803, allocations: 8.654 MB / 0.7185 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/0.6952, allocations: 12.91 MB / 0.7311 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001871/0.6954, allocations: 52 kB / 0.7311 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02488/0.7203, allocations: 11.67 MB / 0.7425 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002303/0.7206, allocations: 86.66 kB / 0.7426 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003623/0.721, allocations: 192 kB / 0.7428 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.7213, allocations: 252 kB / 0.7431 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006991/0.7283, allocations: 2.078 MB / 0.7451 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003305/0.7287, allocations: 374.5 kB / 0.7454 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006861/0.7355, allocations: 1.369 MB / 0.7468 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/0.737, allocations: 0.5455 MB / 0.7473 GB, free: 6.922 MB / 0.5919 GB 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.006769/0.7438, allocations: 3.712 MB / 0.7509 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009189/0.7447, allocations: 0.4966 MB / 0.7514 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.7462, allocations: 0.6489 MB / 0.7521 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.104e-05/0.7463, allocations: 55.98 kB / 0.7521 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.7463, allocations: 0 / 0.7521 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/0.7463, allocations: 23.53 kB / 0.7521 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2264/0.9727, allocations: 12.63 MB / 0.7645 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/0.9728, allocations: 14.12 kB / 0.7645 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.9746, allocations: 424.9 kB / 0.7649 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.758e-05/0.9746, allocations: 23.06 kB / 0.7649 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.9748, allocations: 66.3 kB / 0.765 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.586e-05/0.9748, allocations: 35.45 kB / 0.765 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/0.9748, allocations: 20.12 kB / 0.765 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005299/0.9801, allocations: 4.671 MB / 0.7696 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.9814, allocations: 0.5834 MB / 0.7702 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006016/0.982, allocations: 60.2 kB / 0.7702 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.9836, allocations: 125 kB / 0.7703 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.9839, allocations: 173 kB / 0.7705 GB, free: 199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/0.9841, allocations: 108.6 kB / 0.7706 GB, free: 199 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005968/0.9901, allocations: 3.495 MB / 0.774 GB, free: 197.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9901, allocations: 2.719 kB / 0.774 GB, free: 197.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008022/0.9981, allocations: 1.998 MB / 0.776 GB, free: 197.3 MB / 0.5919 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.005131/1.003, allocations: 5.346 MB / 0.7812 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009216/1.013, allocations: 7.339 MB / 0.7884 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.013, allocations: 3.906 kB / 0.7884 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002177/1.015, allocations: 2.01 MB / 0.7903 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/1.018, allocations: 0.6285 MB / 0.7909 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08362/1.102, allocations: 68.36 MB / 0.8577 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007464/1.109, allocations: 5.415 MB / 0.863 GB, free: 110.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006522/1.116, allocations: 3.543 MB / 0.8664 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00471/1.12, allocations: 3.327 MB / 0.8697 GB, free: 103.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.284e-06/1.12, allocations: 0 / 0.8697 GB, free: 103.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.235, allocations: 91.28 MB / 0.9588 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.29/21.52, allocations: 4.062 kB / 0.9588 GB, free: 12.55 MB / 0.5919 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