Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.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.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 198.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.2 MB / 245 MB, free: 7.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 94.94 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4448/0.4448, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.000297, allocations: 4 kB / 468.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4404, allocations: 63.24 MB / 0.5193 GB, free: 43.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5769, allocations: 98.46 MB / 0.6154 GB, free: 7.199 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5773, allocations: 89.86 kB / 0.6155 GB, free: 7.117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1737/0.751, allocations: 71.31 MB / 0.6851 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/0.751, allocations: 0 / 0.6851 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001097/0.7511, allocations: 64 kB / 0.6852 GB, free: 15.15 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.007688/0.7588, allocations: 3.217 MB / 0.6883 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.7589, allocations: 8.031 kB / 0.6883 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00192/0.7608, allocations: 0.742 MB / 0.6891 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.774, allocations: 3.337 MB / 0.6923 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006734/0.7808, allocations: 2.114 MB / 0.6944 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.7811, allocations: 283.3 kB / 0.6947 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/0.7827, allocations: 363.9 kB / 0.695 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3372/1.12, allocations: 9.413 MB / 0.7042 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-05/1.12, allocations: 23 kB / 0.7042 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000565/1.121, allocations: 174.5 kB / 0.7044 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00131/1.122, allocations: 1.07 MB / 0.7054 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/1.137, allocations: 8.814 MB / 0.714 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04391/1.181, allocations: 32.57 MB / 0.7458 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006242/1.187, allocations: 3.282 MB / 0.7491 GB, free: 82.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/1.188, allocations: 18.69 kB / 0.7491 GB, free: 82.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/1.188, allocations: 48.22 kB / 0.7491 GB, free: 82.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=148): time 5.09e-06/1.188, allocations: 0 / 0.7491 GB, free: 82.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.009692/1.197, allocations: 3.876 MB / 0.7529 GB, free: 81.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/1.197, allocations: 66.45 kB / 0.753 GB, free: 81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007367/1.205, allocations: 2.782 MB / 0.7557 GB, free: 80.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002797/1.205, allocations: 47.48 kB / 0.7557 GB, free: 79.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001879/1.207, allocations: 2.678 MB / 0.7583 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000686/1.208, allocations: 0.5693 MB / 0.7589 GB, free: 77.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/1.208, allocations: 90.72 kB / 0.759 GB, free: 77.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002732/1.208, allocations: 0.5069 MB / 0.7595 GB, free: 77.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/1.211, allocations: 1.513 MB / 0.761 GB, free: 76.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003237/1.214, allocations: 4.414 MB / 0.7653 GB, free: 72.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/1.217, allocations: 2.591 MB / 0.7678 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.655e-05/1.217, allocations: 29.91 kB / 0.7678 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=635) (initialization): time 0.008053/1.225, allocations: 5.788 MB / 0.7735 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/1.225, allocations: 48.66 kB / 0.7735 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.878e-05/1.225, allocations: 103.3 kB / 0.7736 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/1.225, allocations: 152.6 kB / 0.7738 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.228, allocations: 1.051 MB / 0.7748 GB, free: 69.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/1.228, allocations: 204.8 kB / 0.775 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.231, allocations: 0.6785 MB / 0.7757 GB, free: 68.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/1.232, allocations: 297.3 kB / 0.7759 GB, free: 68.81 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (587): * Single equations (assignments): 581 * Array equations: 6 * 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.003033/1.235, allocations: 1.946 MB / 0.7778 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/1.235, allocations: 260.8 kB / 0.7781 GB, free: 67.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/1.236, allocations: 327.1 kB / 0.7784 GB, free: 67.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/1.236, allocations: 18.75 kB / 0.7784 GB, free: 67.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/1.236, allocations: 0 / 0.7784 GB, free: 67.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.236, allocations: 7.234 kB / 0.7784 GB, free: 67.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/1.246, allocations: 6.909 MB / 0.7852 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.246, allocations: 12.41 kB / 0.7852 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/1.247, allocations: 178.3 kB / 0.7854 GB, free: 65.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/1.247, allocations: 10.69 kB / 0.7854 GB, free: 65.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.691e-05/1.247, allocations: 27.61 kB / 0.7854 GB, free: 65.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/1.247, allocations: 18.77 kB / 0.7854 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.247, allocations: 7.344 kB / 0.7854 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/1.25, allocations: 2.892 MB / 0.7882 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000765/1.25, allocations: 366.8 kB / 0.7886 GB, free: 62.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/1.251, allocations: 22.55 kB / 0.7886 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/1.251, allocations: 42.69 kB / 0.7887 GB, free: 62.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.251, allocations: 88.53 kB / 0.7887 GB, free: 62.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.116e-05/1.252, allocations: 41.95 kB / 0.7888 GB, free: 62.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002543/1.254, allocations: 1.968 MB / 0.7907 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.254, allocations: 4 kB / 0.7907 GB, free: 62.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003478/1.258, allocations: 1.017 MB / 0.7917 GB, free: 61.76 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * 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.002932/1.261, allocations: 5.145 MB / 0.7967 GB, free: 57.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004264/1.265, allocations: 3.53 MB / 0.8002 GB, free: 56.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.265, allocations: 0 / 0.8002 GB, free: 56.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008268/1.266, allocations: 0.9215 MB / 0.8011 GB, free: 56.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.267, allocations: 302.6 kB / 0.8014 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05823/1.325, allocations: 95.39 MB / 0.8945 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003723/1.329, allocations: 3.095 MB / 0.8975 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004123/1.333, allocations: 1.728 MB / 0.8992 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/1.335, allocations: 1.552 MB / 0.9007 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of SimCode: time 1.773e-06/1.335, allocations: 0 / 0.9007 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4552/1.791, allocations: 56.08 MB / 0.9555 GB, free: 137.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/1.791, allocations: 174.9 kB / 0.9557 GB, free: 137.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.994/5.785, allocations: 0 / 0.9557 GB, free: 137.6 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat