Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_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.0009781/0.0009782, allocations: 97.06 kB / 17.35 MB, free: 6.344 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.0009966/0.0009966, allocations: 168 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2003/0.2003, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003028, allocations: 8.906 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.1001, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.0353/0.1354, allocations: 40.11 MB / 0.5005 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2252/0.3607, allocations: 7.841 MB / 0.5081 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006056/0.3668, allocations: 182.6 kB / 0.5083 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.3686, allocations: 0.7539 MB / 0.509 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005809/0.3744, allocations: 2.412 MB / 0.5114 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.3751, allocations: 274.2 kB / 0.5116 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.3862, allocations: 9.283 MB / 0.5207 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005681/0.3919, allocations: 4.12 MB / 0.5247 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003734/0.3957, allocations: 1.773 MB / 0.5265 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003819/0.3996, allocations: 2.809 MB / 0.5292 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008968/0.4005, allocations: 228.8 kB / 0.5294 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.4022, allocations: 0.6803 MB / 0.5301 GB, free: 6.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.4042, allocations: 2.675 MB / 0.5327 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.4066, allocations: 3.21 MB / 0.5358 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008086/0.4147, allocations: 9.82 MB / 0.5454 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4147, allocations: 0 / 0.5454 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4147, allocations: 4 kB / 0.5454 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002406/0.415, allocations: 0 / 0.5454 GB, free: 11.15 MB / 398.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.01094/0.4259, allocations: 5.713 MB / 0.551 GB, free: 5.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.426, allocations: 12.03 kB / 0.551 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003003/0.429, allocations: 1.275 MB / 0.5523 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02/0.449, allocations: 6.028 MB / 0.5582 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006665/0.4557, allocations: 3.259 MB / 0.5613 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/0.4561, allocations: 324 kB / 0.5616 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/0.458, allocations: 423 kB / 0.562 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03153/0.4896, allocations: 18.88 MB / 0.5805 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.4898, allocations: 43.61 kB / 0.5805 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/0.491, allocations: 197.2 kB / 0.5807 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007347/0.4983, allocations: 4.748 MB / 0.5854 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.032/0.5303, allocations: 17.53 MB / 0.6025 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08691/0.6173, allocations: 61.28 MB / 0.6623 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/0.6333, allocations: 8.441 MB / 0.6706 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/0.6373, allocations: 2.579 MB / 0.6731 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02067/0.6579, allocations: 11.88 MB / 0.6847 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.6581, allocations: 56.56 kB / 0.6847 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.815e-06/0.6581, allocations: 4 kB / 0.6847 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01887/0.677, allocations: 7.518 MB / 0.6921 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.6771, allocations: 103.1 kB / 0.6922 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/0.6882, allocations: 5.68 MB / 0.6977 GB, free: 12.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004991/0.6888, allocations: 64.83 kB / 0.6978 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003922/0.6927, allocations: 5.071 MB / 0.7027 GB, free: 7.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001583/0.6943, allocations: 1.198 MB / 0.7039 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/0.6959, allocations: 0.8226 MB / 0.7047 GB, free: 5.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.696, allocations: 305.1 kB / 0.705 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004916/0.7009, allocations: 3.212 MB / 0.7081 GB, free: 2.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2065/0.9074, allocations: 8.647 MB / 0.7166 GB, free: 188.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/0.9221, allocations: 12.91 MB / 0.7292 GB, free: 179.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003241/0.9225, allocations: 54.16 kB / 0.7292 GB, free: 179.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02012/0.9426, allocations: 11.65 MB / 0.7406 GB, free: 175.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003265/0.943, allocations: 90.78 kB / 0.7407 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004227/0.9434, allocations: 189.8 kB / 0.7409 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.9438, allocations: 259.5 kB / 0.7411 GB, free: 175.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006239/0.95, allocations: 2.071 MB / 0.7431 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003274/0.9504, allocations: 377.9 kB / 0.7435 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007191/0.9576, allocations: 1.326 MB / 0.7448 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/0.959, allocations: 0.5534 MB / 0.7453 GB, free: 174.3 MB / 0.545 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.00661/0.9656, allocations: 3.701 MB / 0.749 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009099/0.9665, allocations: 483.9 kB / 0.7494 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.9682, allocations: 0.6477 MB / 0.7501 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.869e-05/0.9683, allocations: 59.23 kB / 0.7501 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/0.9684, allocations: 3.719 kB / 0.7501 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.9684, allocations: 11.2 kB / 0.7501 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.9863, allocations: 12.63 MB / 0.7625 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/0.9863, allocations: 12 kB / 0.7625 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.9879, allocations: 422.4 kB / 0.7629 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.937e-05/0.9879, allocations: 24 kB / 0.7629 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.9881, allocations: 61.53 kB / 0.763 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-05/0.9881, allocations: 31.69 kB / 0.763 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.9881, allocations: 23.88 kB / 0.763 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/0.9924, allocations: 4.633 MB / 0.7675 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009759/0.9933, allocations: 0.5901 MB / 0.7681 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/0.9939, allocations: 57.17 kB / 0.7682 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.9954, allocations: 131.6 kB / 0.7683 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.9957, allocations: 176.9 kB / 0.7685 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.9958, allocations: 98.28 kB / 0.7686 GB, free: 159.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003974/0.9998, allocations: 3.489 MB / 0.772 GB, free: 156.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9998, allocations: 0 / 0.772 GB, free: 156.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006503/1.006, allocations: 1.989 MB / 0.7739 GB, free: 154.8 MB / 0.545 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.00496/1.011, allocations: 5.323 MB / 0.7791 GB, free: 149.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009209/1.021, allocations: 7.274 MB / 0.7862 GB, free: 143.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.021, allocations: 4 kB / 0.7862 GB, free: 143.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002045/1.023, allocations: 2.007 MB / 0.7882 GB, free: 141.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/1.034, allocations: 0.603 MB / 0.7888 GB, free: 140.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08708/1.121, allocations: 81.45 MB / 0.8683 GB, free: 47.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005419/1.127, allocations: 5.415 MB / 0.8736 GB, free: 42.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006877/1.134, allocations: 3.547 MB / 0.8771 GB, free: 38.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003184/1.137, allocations: 3.323 MB / 0.8803 GB, free: 35.39 MB / 0.545 GB Notification: Performance of SimCode: time 1.753e-06/1.137, allocations: 0 / 0.8803 GB, free: 35.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3064/1.443, allocations: 94.74 MB / 0.9728 GB, free: 151.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.443, allocations: 202.7 kB / 0.973 GB, free: 151.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.082/5.525, allocations: 8 kB / 0.973 GB, free: 151.5 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches