Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008377/0.0008377, allocations: 91.34 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1758/0.1758, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.719e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.08999, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/0.445, allocations: 99.09 MB / 0.6082 GB, free: 10.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4453, allocations: 78.77 kB / 0.6083 GB, free: 10.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1191/0.5644, allocations: 48.55 MB / 0.6557 GB, free: 0.543 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5645, allocations: 0 / 0.6557 GB, free: 0.543 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.162e-05/0.5646, allocations: 43.94 kB / 0.6557 GB, free: 0.5 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.006464/0.571, allocations: 2.356 MB / 0.658 GB, free: 14.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.5711, allocations: 11.97 kB / 0.6581 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/0.5722, allocations: 496.9 kB / 0.6585 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008358/0.5806, allocations: 1.771 MB / 0.6603 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/0.5844, allocations: 1.368 MB / 0.6616 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.5847, allocations: 178.3 kB / 0.6618 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009197/0.5856, allocations: 243.2 kB / 0.662 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/0.5972, allocations: 6.551 MB / 0.6684 GB, free: 4.664 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.5974, allocations: 39.62 kB / 0.6684 GB, free: 4.625 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007217/0.5981, allocations: 119.9 kB / 0.6686 GB, free: 4.508 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009561/0.5991, allocations: 0.7072 MB / 0.6692 GB, free: 3.801 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.6095, allocations: 5.416 MB / 0.6745 GB, free: 14.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.034/0.6435, allocations: 31.82 MB / 0.7056 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.6481, allocations: 2.34 MB / 0.7079 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.6493, allocations: 0.9684 MB / 0.7088 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.6494, allocations: 55.77 kB / 0.7089 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6494, allocations: 42.56 kB / 0.7089 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.436e-06/0.6494, allocations: 0 / 0.7089 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=115): time 0.02161/0.6711, allocations: 8.487 MB / 0.7172 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.6712, allocations: 141.1 kB / 0.7173 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/0.6747, allocations: 2.326 MB / 0.7196 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.6748, allocations: 45.69 kB / 0.7197 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.6762, allocations: 2.036 MB / 0.7217 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/0.6767, allocations: 470.1 kB / 0.7221 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.6769, allocations: 87.94 kB / 0.7222 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003186/0.6773, allocations: 0.4918 MB / 0.7227 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.6793, allocations: 1.348 MB / 0.724 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/0.6828, allocations: 4.11 MB / 0.728 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.6858, allocations: 2.369 MB / 0.7303 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.746e-05/0.6859, allocations: 28 kB / 0.7303 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.007956/0.6938, allocations: 5.55 MB / 0.7358 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.6939, allocations: 49.41 kB / 0.7358 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.124e-05/0.694, allocations: 100 kB / 0.7359 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009789/0.695, allocations: 468.5 kB / 0.7363 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.6977, allocations: 1.029 MB / 0.7373 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.7013, allocations: 3.376 MB / 0.7406 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.7036, allocations: 227.6 kB / 0.7409 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003127/0.7039, allocations: 280.4 kB / 0.7411 GB, free: 7.082 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004918/0.7044, allocations: 452.8 kB / 0.7416 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.7047, allocations: 221.1 kB / 0.7418 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.7073, allocations: 1.462 MB / 0.7432 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.7073, allocations: 16 kB / 0.7432 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7074, allocations: 3.938 kB / 0.7432 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.7074, allocations: 11.97 kB / 0.7432 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006998/0.7144, allocations: 4.467 MB / 0.7476 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7144, allocations: 0 / 0.7476 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.7152, allocations: 171.8 kB / 0.7478 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2213/0.9365, allocations: 308.3 kB / 0.7481 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/0.9367, allocations: 19.56 kB / 0.7481 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/0.9398, allocations: 2.812 MB / 0.7508 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9398, allocations: 1.219 kB / 0.7508 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/0.9438, allocations: 3.299 MB / 0.754 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.9443, allocations: 281.7 kB / 0.7543 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.9445, allocations: 21.61 kB / 0.7543 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.9453, allocations: 46.77 kB / 0.7544 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.9454, allocations: 59.39 kB / 0.7544 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/0.9455, allocations: 36 kB / 0.7545 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002277/0.9478, allocations: 1.592 MB / 0.756 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.02e-07/0.9478, allocations: 0.9375 kB / 0.756 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002708/0.9505, allocations: 0.6267 MB / 0.7566 GB, free: 153.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004376/0.9549, allocations: 4.123 MB / 0.7607 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00483/0.9598, allocations: 3.288 MB / 0.7639 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.9598, allocations: 0 / 0.7639 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.9611, allocations: 0.9254 MB / 0.7648 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.9623, allocations: 184.7 kB / 0.7649 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.9724, allocations: 5.438 MB / 0.7703 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.9741, allocations: 2.247 MB / 0.7725 GB, free: 150 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002716/0.9769, allocations: 1.408 MB / 0.7738 GB, free: 150 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.9779, allocations: 1.043 MB / 0.7748 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/0.9779, allocations: 9.969 kB / 0.7749 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05494/1.033, allocations: 46.94 MB / 0.8207 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001252/1.033, allocations: 160 kB / 0.8209 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.99, allocations: 0 / 0.8209 GB, free: 128.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat