Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.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.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009365/0.0009368, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000955/0.0009551, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002694, allocations: 4 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 63.47 MB / 481.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3329/0.4619, allocations: 60.48 MB / 0.5293 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03935/0.5013, allocations: 13.97 MB / 0.5429 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01941/0.5207, allocations: 312.7 kB / 0.5432 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01442/0.5352, allocations: 3.015 MB / 0.5462 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03547/0.5707, allocations: 8.818 MB / 0.5548 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004745/0.5755, allocations: 0.9084 MB / 0.5557 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.06797/0.6435, allocations: 48.97 MB / 0.6035 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006979/0.6505, allocations: 4.191 MB / 0.6076 GB, free: 6.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.6535, allocations: 1.262 MB / 0.6088 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/0.6568, allocations: 1.819 MB / 0.6106 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.6581, allocations: 140 kB / 0.6107 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.6606, allocations: 0.5814 MB / 0.6113 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002832/0.6635, allocations: 1.89 MB / 0.6131 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.6651, allocations: 0.8001 MB / 0.6139 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006217/0.6713, allocations: 5.397 MB / 0.6192 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6714, allocations: 7.938 kB / 0.6192 GB, free: 10.26 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.694e-06/0.6714, allocations: 0 / 0.6192 GB, free: 10.26 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.00018/0.6716, allocations: 3.938 kB / 0.6192 GB, free: 10.26 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01122/0.6828, allocations: 4.629 MB / 0.6237 GB, free: 5.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.6829, allocations: 12.03 kB / 0.6237 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001462/0.6844, allocations: 0.5118 MB / 0.6242 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09998/0.7843, allocations: 9.967 MB / 0.634 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.795, allocations: 4.498 MB / 0.6384 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.7952, allocations: 209.2 kB / 0.6386 GB, free: 6.266 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009669/0.7962, allocations: 291.6 kB / 0.6388 GB, free: 5.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.8088, allocations: 6.992 MB / 0.6457 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.809, allocations: 55.55 kB / 0.6457 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/0.8093, allocations: 131.9 kB / 0.6459 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001468/0.8108, allocations: 0.9939 MB / 0.6468 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.8212, allocations: 5.025 MB / 0.6517 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.8543, allocations: 27.5 MB / 0.6786 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.8568, allocations: 0.7347 MB / 0.6793 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.8568, allocations: 12.42 kB / 0.6793 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.8569, allocations: 46.45 kB / 0.6794 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=37): time 2.876e-06/0.8569, allocations: 0 / 0.6794 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37): time 0.006931/0.8638, allocations: 1.98 MB / 0.6813 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.864, allocations: 243.2 kB / 0.6815 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007038/0.871, allocations: 5.316 MB / 0.6867 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.8711, allocations: 37.7 kB / 0.6867 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/0.873, allocations: 2.746 MB / 0.6894 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.8732, allocations: 194.1 kB / 0.6896 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.8733, allocations: 72 kB / 0.6897 GB, free: 456 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.8735, allocations: 453.4 kB / 0.6901 GB, free: 16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.8747, allocations: 0.7759 MB / 0.6909 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.8773, allocations: 3.394 MB / 0.6942 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.8793, allocations: 1.542 MB / 0.6957 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.84e-05/0.8793, allocations: 28 kB / 0.6957 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006029/0.8853, allocations: 4.018 MB / 0.6996 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.8854, allocations: 48 kB / 0.6997 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-05/0.8855, allocations: 95.95 kB / 0.6998 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/0.8856, allocations: 136 kB / 0.6999 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.8879, allocations: 0.8584 MB / 0.7007 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001389/0.8881, allocations: 183.2 kB / 0.7009 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.8916, allocations: 0.5723 MB / 0.7015 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/0.8919, allocations: 232 kB / 0.7017 GB, free: 2.781 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * Array equations: 0 * 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.002649/0.8946, allocations: 1.617 MB / 0.7033 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008186/0.8954, allocations: 383.1 kB / 0.7036 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.8961, allocations: 397.2 kB / 0.704 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.8962, allocations: 7.953 kB / 0.704 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.8962, allocations: 4 kB / 0.704 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.8962, allocations: 3.984 kB / 0.704 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008671/0.9049, allocations: 4.792 MB / 0.7087 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.9049, allocations: 16 kB / 0.7087 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.9052, allocations: 115.8 kB / 0.7088 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/0.9053, allocations: 16 kB / 0.7089 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.9053, allocations: 31.94 kB / 0.7089 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.188e-05/0.9053, allocations: 31.86 kB / 0.7089 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/0.9053, allocations: 20.02 kB / 0.7089 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/0.9082, allocations: 3.274 MB / 0.7121 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.9093, allocations: 0.5077 MB / 0.7126 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.9097, allocations: 32.17 kB / 0.7127 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009546/0.9106, allocations: 43.97 kB / 0.7127 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.9107, allocations: 83.67 kB / 0.7128 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.9108, allocations: 31.95 kB / 0.7128 GB, free: 6.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005297/0.9161, allocations: 3.578 MB / 0.7163 GB, free: 2.855 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9161, allocations: 0 / 0.7163 GB, free: 2.855 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003982/0.9201, allocations: 0.8571 MB / 0.7172 GB, free: 1.996 MB / 0.545 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 (61): * Single equations (assignments): 61 * Array equations: 0 * 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.2682/1.188, allocations: 6.662 MB / 0.7237 GB, free: 195.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003824/1.192, allocations: 1.879 MB / 0.7255 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/1.192, allocations: 2.719 kB / 0.7255 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/1.193, allocations: 270.9 kB / 0.7258 GB, free: 195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/1.196, allocations: 0.6274 MB / 0.7264 GB, free: 195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07556/1.272, allocations: 95.79 MB / 0.8199 GB, free: 109.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/1.275, allocations: 2.933 MB / 0.8228 GB, free: 108.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003647/1.279, allocations: 1.168 MB / 0.8239 GB, free: 108.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00219/1.281, allocations: 1.71 MB / 0.8256 GB, free: 107.1 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/1.281, allocations: 4 kB / 0.8256 GB, free: 107.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.383, allocations: 68.55 MB / 0.8925 GB, free: 39.2 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/1.383, allocations: 172.2 kB / 0.8927 GB, free: 38.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.893/5.276, allocations: 0 / 0.8927 GB, free: 38.96 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat