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.001191/0.001197, allocations: 118.8 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.001223/0.001223, allocations: 201.2 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.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 79.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3272, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.0175/0.3447, allocations: 16.93 MB / 0.547 GB, free: 124 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009692/0.3544, allocations: 3.95 MB / 0.5509 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.3575, allocations: 99.81 kB / 0.551 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005071/0.3626, allocations: 2.179 MB / 0.5531 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007052/0.3697, allocations: 2.502 MB / 0.5556 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.371, allocations: 299.5 kB / 0.5558 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009323/0.3803, allocations: 6.537 MB / 0.5622 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005077/0.3854, allocations: 3.328 MB / 0.5655 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.3897, allocations: 2.109 MB / 0.5675 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004111/0.3939, allocations: 2.787 MB / 0.5703 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.3953, allocations: 388 kB / 0.5706 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.3978, allocations: 0.8076 MB / 0.5714 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003175/0.401, allocations: 2.75 MB / 0.5741 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004886/0.4059, allocations: 3.306 MB / 0.5773 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.4188, allocations: 10.6 MB / 0.5877 GB, free: 6.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4189, allocations: 4 kB / 0.5877 GB, free: 6.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4189, allocations: 0 / 0.5877 GB, free: 6.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003233/0.4192, allocations: 0 / 0.5877 GB, free: 6.984 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.01359/0.4328, allocations: 6.975 MB / 0.5945 GB, free: 15.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4329, allocations: 12.03 kB / 0.5945 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002778/0.4356, allocations: 1.28 MB / 0.5958 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02013/0.4558, allocations: 5.859 MB / 0.6015 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008661/0.4645, allocations: 3.292 MB / 0.6047 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003037/0.4648, allocations: 324 kB / 0.605 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/0.4665, allocations: 415.7 kB / 0.6054 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02996/0.4965, allocations: 18.89 MB / 0.6238 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.449e-05/0.4967, allocations: 39.62 kB / 0.6239 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007849/0.4974, allocations: 203.7 kB / 0.6241 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007221/0.5047, allocations: 4.75 MB / 0.6287 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03147/0.5362, allocations: 17.53 MB / 0.6458 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09101/0.6272, allocations: 60.85 MB / 0.7053 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/0.6424, allocations: 8.419 MB / 0.7135 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004118/0.6466, allocations: 2.587 MB / 0.716 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2513/0.8978, allocations: 11.85 MB / 0.7276 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.8979, allocations: 66.17 kB / 0.7277 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.865e-06/0.898, allocations: 0 / 0.7277 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01578/0.9137, allocations: 7.514 MB / 0.735 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.9138, allocations: 102.2 kB / 0.7351 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006198/0.92, allocations: 5.671 MB / 0.7406 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002983/0.9203, allocations: 57.42 kB / 0.7407 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002096/0.9224, allocations: 5.067 MB / 0.7456 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.9235, allocations: 1.201 MB / 0.7468 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002094/0.9256, allocations: 1.907 MB / 0.7487 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.9257, allocations: 305.1 kB / 0.749 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/0.9293, allocations: 3.214 MB / 0.7521 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005353/0.9347, allocations: 8.645 MB / 0.7605 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009444/0.9441, allocations: 12.92 MB / 0.7731 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/0.9443, allocations: 54.44 kB / 0.7732 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01492/0.9592, allocations: 11.64 MB / 0.7846 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.9593, allocations: 91.98 kB / 0.7847 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001813/0.9595, allocations: 188 kB / 0.7848 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.9597, allocations: 252 kB / 0.7851 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005842/0.9656, allocations: 2.07 MB / 0.7871 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002283/0.9658, allocations: 378.5 kB / 0.7875 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005662/0.9715, allocations: 1.328 MB / 0.7888 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009915/0.9725, allocations: 0.5542 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.004588/0.9771, allocations: 3.706 MB / 0.7929 GB, free: 96.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/0.9778, allocations: 485.5 kB / 0.7934 GB, free: 96.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.9789, allocations: 0.6449 MB / 0.794 GB, free: 95.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.057e-05/0.979, allocations: 59.42 kB / 0.7941 GB, free: 95.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.979, allocations: 11.88 kB / 0.7941 GB, free: 95.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.979, allocations: 7.969 kB / 0.7941 GB, free: 95.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/0.9971, allocations: 12.63 MB / 0.8064 GB, free: 82.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.9972, allocations: 16 kB / 0.8064 GB, free: 82.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.9988, allocations: 423.3 kB / 0.8068 GB, free: 82.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/0.9989, allocations: 24 kB / 0.8069 GB, free: 82.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.999, allocations: 56 kB / 0.8069 GB, free: 82.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.831e-05/0.999, allocations: 35.8 kB / 0.8069 GB, free: 82.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.999, allocations: 19.94 kB / 0.807 GB, free: 82.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/1.003, allocations: 4.63 MB / 0.8115 GB, free: 77.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009098/1.004, allocations: 0.5605 MB / 0.812 GB, free: 76.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005223/1.005, allocations: 59.98 kB / 0.8121 GB, free: 76.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.006, allocations: 131.6 kB / 0.8122 GB, free: 76.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/1.007, allocations: 176.9 kB / 0.8124 GB, free: 76.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.007, allocations: 103.9 kB / 0.8125 GB, free: 76.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003928/1.011, allocations: 3.486 MB / 0.8159 GB, free: 72.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.11e-07/1.011, allocations: 4 kB / 0.8159 GB, free: 72.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005968/1.017, allocations: 1.957 MB / 0.8178 GB, free: 70.92 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.004769/1.021, allocations: 5.304 MB / 0.823 GB, free: 65.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008096/1.03, allocations: 7.339 MB / 0.8302 GB, free: 58.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.03, allocations: 4 kB / 0.8302 GB, free: 58.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/1.032, allocations: 2.006 MB / 0.8321 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/1.035, allocations: 0.6303 MB / 0.8327 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07434/1.109, allocations: 68.04 MB / 0.8992 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007949/1.117, allocations: 5.419 MB / 0.9045 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008031/1.125, allocations: 3.547 MB / 0.9079 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00484/1.13, allocations: 3.325 MB / 0.9112 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/1.13, allocations: 0 / 0.9112 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3525/1.482, allocations: 92.52 MB / 1.002 GB, free: 196.2 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.37/25.85, allocations: 9.422 kB / 1.002 GB, free: 196.2 MB / 0.6388 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