Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 191.9 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 226.5 MB / 243.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007396/0.0007396, allocations: 99.27 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2873/0.2873, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002887, allocations: 11.98 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2784, allocations: 62.95 MB / 0.516 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.02376/0.3022, allocations: 37.34 MB / 0.5524 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.3162, allocations: 7.556 MB / 0.5598 GB, free: 5.418 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00649/0.3228, allocations: 175.4 kB / 0.56 GB, free: 5.395 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0059/0.3287, allocations: 1.941 MB / 0.5619 GB, free: 4.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.3445, allocations: 5.697 MB / 0.5674 GB, free: 2.406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.3467, allocations: 293.1 kB / 0.5677 GB, free: 2.289 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.04138/0.3881, allocations: 34.82 MB / 0.6017 GB, free: 1.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006646/0.3948, allocations: 4.009 MB / 0.6056 GB, free: 13.36 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004192/0.3991, allocations: 1.88 MB / 0.6075 GB, free: 11.47 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004346/0.4034, allocations: 2.749 MB / 0.6101 GB, free: 8.711 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.4046, allocations: 228 kB / 0.6104 GB, free: 8.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.4067, allocations: 0.6825 MB / 0.611 GB, free: 7.805 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002651/0.4094, allocations: 2.563 MB / 0.6135 GB, free: 5.234 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003571/0.413, allocations: 3.01 MB / 0.6165 GB, free: 2.199 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008279/0.4212, allocations: 8.138 MB / 0.6244 GB, free: 10.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4213, allocations: 0 / 0.6244 GB, free: 10.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.619e-06/0.4213, allocations: 3.984 kB / 0.6244 GB, free: 10.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003612/0.4217, allocations: 0 / 0.6244 GB, free: 10.04 MB / 442.7 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.01012/0.4318, allocations: 5.711 MB / 0.63 GB, free: 4.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4319, allocations: 8.031 kB / 0.63 GB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002783/0.4347, allocations: 1.284 MB / 0.6313 GB, free: 2.949 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0193/0.454, allocations: 6.031 MB / 0.6372 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006274/0.4603, allocations: 3.245 MB / 0.6403 GB, free: 9.582 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.4606, allocations: 335.9 kB / 0.6406 GB, free: 9.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.4618, allocations: 415.7 kB / 0.641 GB, free: 8.844 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/0.4893, allocations: 18.85 MB / 0.6594 GB, free: 5.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.989e-05/0.4894, allocations: 35.69 kB / 0.6595 GB, free: 5.211 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006876/0.4901, allocations: 203.7 kB / 0.6597 GB, free: 5.012 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007222/0.4974, allocations: 4.758 MB / 0.6643 GB, free: 256 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2368/0.7342, allocations: 17.44 MB / 0.6814 GB, free: 119.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07723/0.8115, allocations: 61.28 MB / 0.7412 GB, free: 83.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/0.8239, allocations: 8.423 MB / 0.7494 GB, free: 78.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002906/0.8269, allocations: 2.572 MB / 0.7519 GB, free: 77.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/0.8431, allocations: 11.88 MB / 0.7635 GB, free: 67.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.8432, allocations: 56.56 kB / 0.7636 GB, free: 67.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=321): time 6.613e-06/0.8432, allocations: 4 kB / 0.7636 GB, free: 67.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=321): time 0.01394/0.8571, allocations: 7.488 MB / 0.7709 GB, free: 59.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.8572, allocations: 103.1 kB / 0.771 GB, free: 59.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006215/0.8634, allocations: 5.637 MB / 0.7765 GB, free: 53.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/0.8638, allocations: 64.67 kB / 0.7766 GB, free: 53.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002131/0.8659, allocations: 5.076 MB / 0.7815 GB, free: 48.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.867, allocations: 1.205 MB / 0.7827 GB, free: 47.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003878/0.8674, allocations: 176 kB / 0.7829 GB, free: 47.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004851/0.8679, allocations: 0.727 MB / 0.7836 GB, free: 46.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003609/0.8715, allocations: 3.173 MB / 0.7867 GB, free: 43.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005301/0.8768, allocations: 8.615 MB / 0.7951 GB, free: 32.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00994/0.8868, allocations: 12.86 MB / 0.8077 GB, free: 16.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.8869, allocations: 55.94 kB / 0.8077 GB, free: 16.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01589/0.9028, allocations: 11.57 MB / 0.819 GB, free: 5.117 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.903, allocations: 91.98 kB / 0.8191 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002666/0.9033, allocations: 188 kB / 0.8193 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/0.9036, allocations: 256 kB / 0.8195 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006027/0.9096, allocations: 2.074 MB / 0.8215 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002699/0.9099, allocations: 374.5 kB / 0.8219 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/0.9163, allocations: 1.326 MB / 0.8232 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/0.9174, allocations: 0.5545 MB / 0.8237 GB, free: 268 kB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006689/0.9241, allocations: 3.703 MB / 0.8274 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009271/0.9251, allocations: 489.4 kB / 0.8278 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.9268, allocations: 0.6411 MB / 0.8284 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/0.9269, allocations: 62.17 kB / 0.8285 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.9269, allocations: 0 / 0.8285 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/0.927, allocations: 11.95 kB / 0.8285 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/0.951, allocations: 12.62 MB / 0.8408 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/0.9511, allocations: 12 kB / 0.8409 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/0.9529, allocations: 423.3 kB / 0.8413 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.179e-05/0.9529, allocations: 24.78 kB / 0.8413 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/0.9532, allocations: 59.98 kB / 0.8413 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.455e-05/0.9533, allocations: 35.92 kB / 0.8414 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.872e-05/0.9533, allocations: 23.88 kB / 0.8414 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/0.9595, allocations: 4.618 MB / 0.8459 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.9608, allocations: 0.5838 MB / 0.8465 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009337/0.9617, allocations: 55.98 kB / 0.8465 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.9638, allocations: 131.8 kB / 0.8467 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004859/0.9643, allocations: 172.8 kB / 0.8468 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/0.9645, allocations: 99.98 kB / 0.8469 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006117/0.9706, allocations: 3.466 MB / 0.8503 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.3e-07/0.9706, allocations: 0 / 0.8503 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007438/0.9781, allocations: 1.987 MB / 0.8522 GB, free: 2.527 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0067/0.9848, allocations: 5.297 MB / 0.8574 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01033/0.9952, allocations: 7.232 MB / 0.8645 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.9952, allocations: 4.062 kB / 0.8645 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.9977, allocations: 2.002 MB / 0.8664 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01188/1.01, allocations: 0.5938 MB / 0.867 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2869/1.297, allocations: 53.18 MB / 0.9189 GB, free: 153.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006826/1.303, allocations: 5.427 MB / 0.9242 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003853/1.307, allocations: 3.402 MB / 0.9276 GB, free: 149.4 MB / 0.5417 GB Notification: Performance of SimCode: time 7.52e-07/1.307, allocations: 0 / 0.9276 GB, free: 149.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.911/10.22, allocations: 119.6 MB / 1.044 GB, free: 42.58 MB / 0.5417 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches