Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001974/0.001974, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 76.16 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.323, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.0179/0.3409, allocations: 16.93 MB / 0.547 GB, free: 128 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009481/0.3505, allocations: 3.948 MB / 0.5509 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/0.3539, allocations: 99.81 kB / 0.551 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005176/0.3591, allocations: 2.191 MB / 0.5531 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007062/0.3663, allocations: 2.58 MB / 0.5556 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3675, allocations: 303.5 kB / 0.5559 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009127/0.3766, allocations: 6.527 MB / 0.5623 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005046/0.3817, allocations: 3.334 MB / 0.5656 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003803/0.3855, allocations: 2.109 MB / 0.5676 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.3896, allocations: 2.779 MB / 0.5703 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.3912, allocations: 392 kB / 0.5707 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.3936, allocations: 0.8154 MB / 0.5715 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003127/0.3968, allocations: 2.742 MB / 0.5742 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004655/0.4014, allocations: 3.31 MB / 0.5774 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4133, allocations: 10.64 MB / 0.5878 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4133, allocations: 7.938 kB / 0.5878 GB, free: 6.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4133, allocations: 0 / 0.5878 GB, free: 6.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003546/0.4137, allocations: 0 / 0.5878 GB, free: 6.84 MB / 446.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.01462/0.4283, allocations: 7.18 MB / 0.5948 GB, free: 15.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.4284, allocations: 8.031 kB / 0.5948 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003857/0.4323, allocations: 1.272 MB / 0.5961 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02012/0.4524, allocations: 5.911 MB / 0.6019 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008326/0.4608, allocations: 3.301 MB / 0.6051 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.4612, allocations: 324 kB / 0.6054 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00214/0.4633, allocations: 415.7 kB / 0.6058 GB, free: 4.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0329/0.4962, allocations: 18.89 MB / 0.6242 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/0.4965, allocations: 35.69 kB / 0.6243 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001863/0.4983, allocations: 199.7 kB / 0.6245 GB, free: 400 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007857/0.5062, allocations: 4.754 MB / 0.6291 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0337/0.54, allocations: 17.54 MB / 0.6462 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09652/0.6365, allocations: 60.99 MB / 0.7058 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/0.6526, allocations: 8.429 MB / 0.714 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004093/0.6567, allocations: 2.587 MB / 0.7165 GB, free: 56 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2615/0.9182, allocations: 11.89 MB / 0.7282 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.9184, allocations: 58.72 kB / 0.7282 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 1.045e-05/0.9184, allocations: 0 / 0.7282 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01774/0.9361, allocations: 7.536 MB / 0.7356 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.9362, allocations: 110.4 kB / 0.7357 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008384/0.9446, allocations: 5.683 MB / 0.7412 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004072/0.945, allocations: 61.45 kB / 0.7413 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002672/0.9477, allocations: 5.288 MB / 0.7464 GB, free: 148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001285/0.949, allocations: 1.251 MB / 0.7477 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003295/0.9523, allocations: 1.921 MB / 0.7495 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.9524, allocations: 305 kB / 0.7498 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004132/0.9565, allocations: 3.206 MB / 0.753 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006112/0.9627, allocations: 8.647 MB / 0.7614 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/0.973, allocations: 12.91 MB / 0.774 GB, free: 117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/0.9733, allocations: 56 kB / 0.7741 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01785/0.9911, allocations: 11.66 MB / 0.7855 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.9914, allocations: 88.62 kB / 0.7855 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002873/0.9917, allocations: 196.1 kB / 0.7857 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.992, allocations: 252 kB / 0.786 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006306/0.9983, allocations: 2.074 MB / 0.788 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003506/0.9987, allocations: 378.5 kB / 0.7884 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006454/1.005, allocations: 1.362 MB / 0.7897 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.006, allocations: 0.5541 MB / 0.7902 GB, free: 100.4 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.005472/1.012, allocations: 3.709 MB / 0.7939 GB, free: 96.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008685/1.013, allocations: 0.5004 MB / 0.7943 GB, free: 96.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/1.014, allocations: 0.6488 MB / 0.795 GB, free: 95.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.492e-05/1.014, allocations: 55.52 kB / 0.795 GB, free: 95.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.442e-05/1.014, allocations: 3.938 kB / 0.795 GB, free: 95.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/1.014, allocations: 11.95 kB / 0.795 GB, free: 95.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02033/1.035, allocations: 12.63 MB / 0.8074 GB, free: 82.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/1.035, allocations: 16 kB / 0.8074 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/1.036, allocations: 415.3 kB / 0.8078 GB, free: 82.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-05/1.037, allocations: 27.94 kB / 0.8078 GB, free: 82.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/1.037, allocations: 63.98 kB / 0.8079 GB, free: 82.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.072e-05/1.037, allocations: 31.86 kB / 0.8079 GB, free: 82.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.037, allocations: 19.94 kB / 0.8079 GB, free: 82.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004459/1.041, allocations: 4.664 MB / 0.8125 GB, free: 77.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.042, allocations: 0.5828 MB / 0.8131 GB, free: 76.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007705/1.043, allocations: 59.81 kB / 0.8131 GB, free: 76.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.045, allocations: 127.8 kB / 0.8132 GB, free: 76.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.045, allocations: 184.7 kB / 0.8134 GB, free: 76.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.045, allocations: 103.8 kB / 0.8135 GB, free: 76.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004738/1.05, allocations: 3.486 MB / 0.8169 GB, free: 72.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.05, allocations: 0 / 0.8169 GB, free: 72.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006755/1.057, allocations: 1.97 MB / 0.8188 GB, free: 70.63 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.005185/1.062, allocations: 5.339 MB / 0.824 GB, free: 65.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008785/1.071, allocations: 7.333 MB / 0.8312 GB, free: 57.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.071, allocations: 5.938 kB / 0.8312 GB, free: 57.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002077/1.073, allocations: 2.009 MB / 0.8332 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/1.077, allocations: 0.6216 MB / 0.8338 GB, free: 55.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08595/1.163, allocations: 68.35 MB / 0.9005 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008835/1.172, allocations: 5.419 MB / 0.9058 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008293/1.18, allocations: 3.547 MB / 0.9093 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005848/1.186, allocations: 3.328 MB / 0.9125 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.142e-06/1.186, allocations: 0 / 0.9125 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.383/1.569, allocations: 91.15 MB / 1.002 GB, free: 197 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.89/24.46, allocations: 10.64 kB / 1.002 GB, free: 197 MB / 0.6387 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv","/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_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches