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.00191/0.00191, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002138/0.002137, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 83.84 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3044, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01874/0.3232, allocations: 16.93 MB / 0.5471 GB, free: 64 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009167/0.3324, allocations: 3.948 MB / 0.551 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.3353, allocations: 95.81 kB / 0.5511 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005057/0.3404, allocations: 2.191 MB / 0.5532 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007278/0.3477, allocations: 2.501 MB / 0.5557 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.3489, allocations: 303.5 kB / 0.556 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.3592, allocations: 6.535 MB / 0.5623 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00557/0.3648, allocations: 3.329 MB / 0.5656 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.3689, allocations: 2.121 MB / 0.5677 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/0.3732, allocations: 2.783 MB / 0.5704 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.3745, allocations: 392 kB / 0.5708 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.3768, allocations: 0.7998 MB / 0.5715 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003296/0.3801, allocations: 2.742 MB / 0.5742 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00511/0.3853, allocations: 3.31 MB / 0.5775 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.399, allocations: 10.64 MB / 0.5878 GB, free: 6.828 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3991, allocations: 0 / 0.5878 GB, free: 6.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3991, allocations: 0 / 0.5878 GB, free: 6.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002836/0.3994, allocations: 0 / 0.5878 GB, free: 6.828 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.0137/0.4131, allocations: 7.173 MB / 0.5949 GB, free: 15.56 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4131, allocations: 12.03 kB / 0.5949 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002489/0.4156, allocations: 1.28 MB / 0.5961 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02096/0.4366, allocations: 5.903 MB / 0.6019 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007093/0.4437, allocations: 3.305 MB / 0.6051 GB, free: 4.965 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.4441, allocations: 323.3 kB / 0.6054 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.4458, allocations: 423.6 kB / 0.6058 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03227/0.4781, allocations: 18.88 MB / 0.6243 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.4782, allocations: 35.62 kB / 0.6243 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008732/0.4791, allocations: 211.7 kB / 0.6245 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008158/0.4873, allocations: 4.742 MB / 0.6291 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03412/0.5214, allocations: 17.54 MB / 0.6462 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09262/0.6141, allocations: 60.99 MB / 0.7058 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/0.6309, allocations: 8.422 MB / 0.714 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004496/0.6354, allocations: 2.583 MB / 0.7166 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.232/0.8675, allocations: 11.89 MB / 0.7282 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.8676, allocations: 55.19 kB / 0.7282 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.554e-06/0.8676, allocations: 1.219 kB / 0.7282 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.0168/0.8844, allocations: 7.535 MB / 0.7356 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.8845, allocations: 109.8 kB / 0.7357 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006951/0.8914, allocations: 5.687 MB / 0.7412 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003697/0.8918, allocations: 64.86 kB / 0.7413 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/0.8941, allocations: 5.287 MB / 0.7465 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.8952, allocations: 1.249 MB / 0.7477 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002193/0.8974, allocations: 1.925 MB / 0.7496 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.8974, allocations: 301.1 kB / 0.7498 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003776/0.9012, allocations: 3.213 MB / 0.753 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005792/0.907, allocations: 8.645 MB / 0.7614 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00979/0.9169, allocations: 12.92 MB / 0.774 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/0.917, allocations: 52 kB / 0.7741 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01513/0.9322, allocations: 11.67 MB / 0.7855 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.9323, allocations: 88 kB / 0.7856 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/0.9325, allocations: 189 kB / 0.7858 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.9327, allocations: 256 kB / 0.786 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005599/0.9383, allocations: 2.078 MB / 0.788 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001921/0.9385, allocations: 374.5 kB / 0.7884 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005571/0.9441, allocations: 1.362 MB / 0.7897 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009549/0.945, allocations: 0.5463 MB / 0.7902 GB, free: 101.3 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.004721/0.9498, allocations: 3.705 MB / 0.7939 GB, free: 97.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006575/0.9504, allocations: 0.5004 MB / 0.7944 GB, free: 97.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.9517, allocations: 0.6449 MB / 0.795 GB, free: 96.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.626e-05/0.9518, allocations: 59.42 kB / 0.795 GB, free: 96.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/0.9518, allocations: 8.062 kB / 0.795 GB, free: 96.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.9518, allocations: 11.95 kB / 0.7951 GB, free: 96.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.9687, allocations: 12.64 MB / 0.8074 GB, free: 83.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.9687, allocations: 16 kB / 0.8074 GB, free: 83.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.9704, allocations: 423.3 kB / 0.8078 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.9704, allocations: 24 kB / 0.8078 GB, free: 83.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.9706, allocations: 59.75 kB / 0.8079 GB, free: 82.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.9706, allocations: 35.8 kB / 0.8079 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.9706, allocations: 19.94 kB / 0.808 GB, free: 82.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/0.975, allocations: 4.668 MB / 0.8125 GB, free: 78.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008381/0.9759, allocations: 0.5828 MB / 0.8131 GB, free: 77.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006526/0.9765, allocations: 55.98 kB / 0.8131 GB, free: 77.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.9781, allocations: 131.6 kB / 0.8133 GB, free: 77.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/0.9785, allocations: 176.8 kB / 0.8134 GB, free: 77.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.9786, allocations: 99.98 kB / 0.8135 GB, free: 76.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004297/0.9829, allocations: 3.486 MB / 0.8169 GB, free: 73.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.81e-07/0.983, allocations: 7.938 kB / 0.8169 GB, free: 73.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006553/0.9895, allocations: 1.963 MB / 0.8189 GB, free: 71.53 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/0.9947, allocations: 5.343 MB / 0.8241 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008743/1.003, allocations: 7.348 MB / 0.8312 GB, free: 58.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.004, allocations: 4 kB / 0.8312 GB, free: 58.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/1.006, allocations: 2 MB / 0.8332 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/1.009, allocations: 0.6241 MB / 0.8338 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08356/1.092, allocations: 68.34 MB / 0.9006 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009511/1.102, allocations: 5.419 MB / 0.9058 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008378/1.11, allocations: 3.543 MB / 0.9093 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005715/1.116, allocations: 3.324 MB / 0.9125 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of SimCode: time 1.152e-06/1.116, allocations: 7.938 kB / 0.9126 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4115/1.528, allocations: 91.14 MB / 1.002 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.62/25.15, allocations: 8.547 kB / 1.002 GB, free: 201.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches