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.001473/0.001473, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001695/0.001695, allocations: 183.1 kB / 18.7 MB, free: 4.371 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1942/0.1942, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 71.83 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3047, allocations: 60.81 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01562/0.3203, allocations: 17.01 MB / 0.535 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008995/0.3294, allocations: 3.928 MB / 0.5389 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.3324, allocations: 98.59 kB / 0.5389 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004314/0.3368, allocations: 2.173 MB / 0.5411 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.3431, allocations: 2.601 MB / 0.5436 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3442, allocations: 298.1 kB / 0.5439 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009377/0.3536, allocations: 6.546 MB / 0.5503 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004126/0.3578, allocations: 3.332 MB / 0.5535 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.3611, allocations: 2.125 MB / 0.5556 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.365, allocations: 2.787 MB / 0.5583 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.3663, allocations: 396 kB / 0.5587 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.3688, allocations: 0.8076 MB / 0.5595 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003156/0.3719, allocations: 2.793 MB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00484/0.3768, allocations: 3.345 MB / 0.5655 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.3905, allocations: 10.71 MB / 0.576 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3905, allocations: 0 / 0.576 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3905, allocations: 0 / 0.576 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003831/0.3909, allocations: 3.938 kB / 0.576 GB, free: 0.957 MB / 430.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.01334/0.4043, allocations: 7.047 MB / 0.5828 GB, free: 9.832 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4043, allocations: 12.03 kB / 0.5829 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002069/0.4064, allocations: 1.272 MB / 0.5841 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/0.4244, allocations: 5.863 MB / 0.5898 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006644/0.4311, allocations: 3.296 MB / 0.593 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.4314, allocations: 324 kB / 0.5934 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001466/0.4329, allocations: 419.7 kB / 0.5938 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03107/0.464, allocations: 18.88 MB / 0.6122 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.4642, allocations: 35.69 kB / 0.6122 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002049/0.4662, allocations: 203.7 kB / 0.6124 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007463/0.4737, allocations: 4.754 MB / 0.6171 GB, free: 5.938 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03259/0.5064, allocations: 17.53 MB / 0.6342 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08683/0.5932, allocations: 60.84 MB / 0.6936 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01468/0.6079, allocations: 8.427 MB / 0.7018 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003675/0.6116, allocations: 2.583 MB / 0.7044 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.244/0.8556, allocations: 11.85 MB / 0.7159 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.8557, allocations: 64.27 kB / 0.716 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 6.732e-06/0.8557, allocations: 1.25 kB / 0.716 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01727/0.873, allocations: 7.509 MB / 0.7233 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.8731, allocations: 103.6 kB / 0.7234 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008564/0.8817, allocations: 5.678 MB / 0.729 GB, free: 160 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005334/0.8823, allocations: 64.92 kB / 0.729 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002868/0.8851, allocations: 5.071 MB / 0.734 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/0.8865, allocations: 1.207 MB / 0.7352 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/0.8887, allocations: 1.901 MB / 0.737 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.8887, allocations: 301.1 kB / 0.7373 GB, free: 154 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/0.8927, allocations: 3.21 MB / 0.7404 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00595/0.8987, allocations: 8.653 MB / 0.7489 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009925/0.9087, allocations: 12.91 MB / 0.7615 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/0.9088, allocations: 54.44 kB / 0.7615 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01481/0.9237, allocations: 11.65 MB / 0.7729 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/0.9238, allocations: 88 kB / 0.773 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/0.9239, allocations: 192 kB / 0.7732 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.9241, allocations: 252 kB / 0.7734 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005189/0.9293, allocations: 2.078 MB / 0.7755 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001801/0.9295, allocations: 371.5 kB / 0.7758 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005382/0.9349, allocations: 1.325 MB / 0.7771 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007931/0.9357, allocations: 0.558 MB / 0.7777 GB, free: 119.7 MB / 0.5606 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.004201/0.9399, allocations: 3.697 MB / 0.7813 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005459/0.9405, allocations: 485.4 kB / 0.7817 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000974/0.9414, allocations: 0.645 MB / 0.7824 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.967e-05/0.9415, allocations: 59.34 kB / 0.7824 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-05/0.9415, allocations: 4 kB / 0.7824 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.9416, allocations: 14.48 kB / 0.7824 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.9563, allocations: 12.63 MB / 0.7948 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.9563, allocations: 19.94 kB / 0.7948 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.9578, allocations: 415.3 kB / 0.7952 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.9578, allocations: 24 kB / 0.7952 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.958, allocations: 67.95 kB / 0.7953 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.649e-05/0.958, allocations: 31.98 kB / 0.7953 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.958, allocations: 31.88 kB / 0.7953 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/0.9621, allocations: 4.63 MB / 0.7999 GB, free: 96.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/0.9629, allocations: 0.5604 MB / 0.8004 GB, free: 95.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004887/0.9634, allocations: 63.5 kB / 0.8005 GB, free: 95.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.9648, allocations: 123.8 kB / 0.8006 GB, free: 95.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.9651, allocations: 176.8 kB / 0.8007 GB, free: 95.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.9653, allocations: 103.4 kB / 0.8008 GB, free: 95.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004075/0.9693, allocations: 3.494 MB / 0.8043 GB, free: 92.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9694, allocations: 0 / 0.8043 GB, free: 92.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006419/0.9758, allocations: 1.988 MB / 0.8062 GB, free: 90.04 MB / 0.5606 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.004938/0.9807, allocations: 5.318 MB / 0.8114 GB, free: 84.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008466/0.9892, allocations: 7.333 MB / 0.8186 GB, free: 77.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.9893, allocations: 4.312 kB / 0.8186 GB, free: 77.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.9913, allocations: 2.009 MB / 0.8205 GB, free: 75.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.9944, allocations: 0.6331 MB / 0.8211 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07446/1.069, allocations: 68.07 MB / 0.8876 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008283/1.077, allocations: 5.423 MB / 0.8929 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008262/1.085, allocations: 3.547 MB / 0.8964 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007155/1.093, allocations: 3.323 MB / 0.8996 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of SimCode: time 3.467e-06/1.093, allocations: 0 / 0.8996 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3546/1.447, allocations: 91.28 MB / 0.9888 GB, free: 190.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.28/22.72, allocations: 9.266 kB / 0.9888 GB, free: 190.4 MB / 0.6231 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