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.001491/0.001491, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 75.88 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3102, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01624/0.3265, allocations: 16.93 MB / 0.547 GB, free: 160 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008576/0.3351, allocations: 3.949 MB / 0.5509 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003099/0.3382, allocations: 99.81 kB / 0.551 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.3427, allocations: 2.183 MB / 0.5531 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006836/0.3496, allocations: 2.498 MB / 0.5556 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3507, allocations: 307.5 kB / 0.5559 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008558/0.3592, allocations: 6.541 MB / 0.5622 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004214/0.3635, allocations: 3.324 MB / 0.5655 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.3666, allocations: 2.117 MB / 0.5676 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003564/0.3702, allocations: 2.779 MB / 0.5703 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.3715, allocations: 392 kB / 0.5706 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.3738, allocations: 0.8076 MB / 0.5714 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003246/0.3771, allocations: 2.746 MB / 0.5741 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003999/0.3811, allocations: 3.31 MB / 0.5773 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.3919, allocations: 10.6 MB / 0.5877 GB, free: 7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3919, allocations: 0 / 0.5877 GB, free: 7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.392, allocations: 0 / 0.5877 GB, free: 7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002751/0.3922, allocations: 0 / 0.5877 GB, free: 7 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.01226/0.4045, allocations: 6.979 MB / 0.5945 GB, free: 15.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.4046, allocations: 8.031 kB / 0.5945 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002134/0.4067, allocations: 1.276 MB / 0.5958 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/0.4247, allocations: 5.855 MB / 0.6015 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006559/0.4313, allocations: 3.292 MB / 0.6047 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.4316, allocations: 328 kB / 0.605 GB, free: 5.086 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.4329, allocations: 415.7 kB / 0.6054 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02891/0.4618, allocations: 18.89 MB / 0.6239 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/0.462, allocations: 35.69 kB / 0.6239 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00122/0.4632, allocations: 207.7 kB / 0.6241 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007321/0.4705, allocations: 4.75 MB / 0.6287 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03162/0.5022, allocations: 17.53 MB / 0.6458 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08966/0.5919, allocations: 60.85 MB / 0.7053 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/0.6077, allocations: 8.423 MB / 0.7135 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004182/0.6119, allocations: 2.591 MB / 0.716 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.273/0.885, allocations: 11.85 MB / 0.7276 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.8851, allocations: 58.5 kB / 0.7277 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.424e-06/0.8851, allocations: 0.9688 kB / 0.7277 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01692/0.902, allocations: 7.511 MB / 0.735 GB, free: 154 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.9021, allocations: 105 kB / 0.7351 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00732/0.9094, allocations: 5.672 MB / 0.7406 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004385/0.9099, allocations: 60.47 kB / 0.7407 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002588/0.9125, allocations: 5.068 MB / 0.7456 GB, free: 148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.9138, allocations: 1.201 MB / 0.7468 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002743/0.9166, allocations: 1.899 MB / 0.7487 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.9166, allocations: 309.1 kB / 0.749 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004065/0.9207, allocations: 3.21 MB / 0.7521 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006221/0.927, allocations: 8.656 MB / 0.7605 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.9379, allocations: 12.91 MB / 0.7732 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/0.9381, allocations: 53.25 kB / 0.7732 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01687/0.955, allocations: 11.65 MB / 0.7846 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.9551, allocations: 88 kB / 0.7847 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002124/0.9554, allocations: 188 kB / 0.7848 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/0.9556, allocations: 252 kB / 0.7851 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006008/0.9616, allocations: 2.079 MB / 0.7871 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002472/0.9618, allocations: 378.5 kB / 0.7875 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006482/0.9683, allocations: 1.326 MB / 0.7888 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/0.9699, allocations: 0.5475 MB / 0.7893 GB, free: 100.6 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.005924/0.9758, allocations: 3.713 MB / 0.7929 GB, free: 96.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008545/0.9767, allocations: 481.5 kB / 0.7934 GB, free: 96.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.9781, allocations: 0.641 MB / 0.794 GB, free: 95.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.199e-05/0.9782, allocations: 59.98 kB / 0.7941 GB, free: 95.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-05/0.9782, allocations: 7.875 kB / 0.7941 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.9783, allocations: 11.95 kB / 0.7941 GB, free: 95.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/0.9979, allocations: 12.63 MB / 0.8064 GB, free: 82.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/0.998, allocations: 16.12 kB / 0.8064 GB, free: 82.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.9996, allocations: 427.3 kB / 0.8068 GB, free: 82.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.316e-05/0.9997, allocations: 24 kB / 0.8069 GB, free: 82.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/0.9999, allocations: 56 kB / 0.8069 GB, free: 82.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.008e-05/0.9999, allocations: 31.86 kB / 0.807 GB, free: 82.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.9999, allocations: 24.34 kB / 0.807 GB, free: 82.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/1.005, allocations: 4.632 MB / 0.8115 GB, free: 77.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.006, allocations: 0.5605 MB / 0.812 GB, free: 76.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008942/1.007, allocations: 59.81 kB / 0.8121 GB, free: 76.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/1.009, allocations: 131.8 kB / 0.8122 GB, free: 76.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/1.009, allocations: 176.6 kB / 0.8124 GB, free: 76.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.009, allocations: 99.98 kB / 0.8125 GB, free: 76.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005113/1.015, allocations: 3.489 MB / 0.8159 GB, free: 72.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.61e-07/1.015, allocations: 0 / 0.8159 GB, free: 72.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008147/1.023, allocations: 1.953 MB / 0.8178 GB, free: 70.96 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.00603/1.029, allocations: 5.304 MB / 0.823 GB, free: 65.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00986/1.039, allocations: 7.344 MB / 0.8302 GB, free: 58.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/1.039, allocations: 4 kB / 0.8302 GB, free: 58.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/1.041, allocations: 1.995 MB / 0.8321 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.044, allocations: 0.633 MB / 0.8327 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09926/1.143, allocations: 68.05 MB / 0.8992 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01088/1.154, allocations: 5.419 MB / 0.9045 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009145/1.164, allocations: 3.551 MB / 0.9079 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006755/1.17, allocations: 3.327 MB / 0.9112 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of SimCode: time 3.136e-06/1.17, allocations: 0 / 0.9112 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3751/1.546, allocations: 92.52 MB / 1.002 GB, free: 196.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.51/24.05, allocations: 8.547 kB / 1.002 GB, free: 196.1 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