Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.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.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 198.2 kB / 8.768 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 102.8 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.83e-05, allocations: 4 kB / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.5813, allocations: 98.6 MB / 0.6007 GB, free: 4.074 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5816, allocations: 74.34 kB / 0.6008 GB, free: 4.043 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1933/0.7749, allocations: 74.68 MB / 0.6737 GB, free: 1.473 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.775, allocations: 0 / 0.6737 GB, free: 1.473 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002661/0.7753, allocations: 71.94 kB / 0.6738 GB, free: 1.402 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.01543/0.7907, allocations: 3.615 MB / 0.6773 GB, free: 13.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.7908, allocations: 12.03 kB / 0.6773 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/0.806, allocations: 3.305 MB / 0.6806 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007913/0.8139, allocations: 2.438 MB / 0.683 GB, free: 7.914 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.8143, allocations: 120 kB / 0.6831 GB, free: 7.797 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002548/0.8168, allocations: 207.9 kB / 0.6833 GB, free: 7.594 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01437/0.8312, allocations: 6.696 MB / 0.6898 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02696/0.8582, allocations: 8.884 MB / 0.6985 GB, free: 7.656 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001747/0.8585, allocations: 15.88 kB / 0.6985 GB, free: 7.641 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/0.8608, allocations: 12 kB / 0.6985 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/0.8627, allocations: 1.097 MB / 0.6996 GB, free: 6.527 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06185/0.9246, allocations: 33.36 MB / 0.7322 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/0.9283, allocations: 2.701 MB / 0.7348 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.9297, allocations: 0.8892 MB / 0.7357 GB, free: 12 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.9312, allocations: 1.622 MB / 0.7373 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.9313, allocations: 59.91 kB / 0.7373 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=164): time 4.718e-06/0.9313, allocations: 0 / 0.7373 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=164): time 0.00518/0.9365, allocations: 2.192 MB / 0.7394 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.9366, allocations: 90.41 kB / 0.7395 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/0.9419, allocations: 2.279 MB / 0.7418 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.9421, allocations: 29.69 kB / 0.7418 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002742/0.9449, allocations: 2.796 MB / 0.7445 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.9459, allocations: 0.5976 MB / 0.7451 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/0.9464, allocations: 0 / 0.7451 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006068/0.947, allocations: 0.5248 MB / 0.7456 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002667/0.9497, allocations: 1.4 MB / 0.747 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3671/1.317, allocations: 4.525 MB / 0.7514 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005496/1.322, allocations: 2.581 MB / 0.7539 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.323, allocations: 33.28 kB / 0.754 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.01157/1.334, allocations: 5.253 MB / 0.7591 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-05/1.334, allocations: 53.09 kB / 0.7591 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/1.334, allocations: 113.5 kB / 0.7592 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/1.335, allocations: 164.3 kB / 0.7594 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003737/1.338, allocations: 1.142 MB / 0.7605 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000246/1.339, allocations: 223.2 kB / 0.7607 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/1.342, allocations: 0.5686 MB / 0.7613 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006054/1.343, allocations: 339.1 kB / 0.7616 GB, free: 143.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 513 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (619): * Single equations (assignments): 613 * 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.0006314/1.344, allocations: 379.1 kB / 0.762 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003066/1.347, allocations: 1.81 MB / 0.7637 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/1.347, allocations: 243.2 kB / 0.764 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/1.351, allocations: 2.064 MB / 0.766 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/1.351, allocations: 20.52 kB / 0.766 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.351, allocations: 5.25 kB / 0.766 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/1.351, allocations: 5.203 kB / 0.766 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/1.362, allocations: 6.338 MB / 0.7722 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.362, allocations: 11.44 kB / 0.7722 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/1.363, allocations: 209.4 kB / 0.7724 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/1.363, allocations: 15.81 kB / 0.7724 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/1.363, allocations: 22.42 kB / 0.7724 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/1.363, allocations: 19.5 kB / 0.7725 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/1.363, allocations: 15 kB / 0.7725 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/1.366, allocations: 3.164 MB / 0.7756 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005471/1.366, allocations: 343.8 kB / 0.7759 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/1.366, allocations: 17.98 kB / 0.7759 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/1.367, allocations: 37.17 kB / 0.776 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.367, allocations: 106 kB / 0.7761 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.367, allocations: 59.86 kB / 0.7761 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002033/1.369, allocations: 1.499 MB / 0.7776 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.11e-07/1.369, allocations: 0 / 0.7776 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004617/1.374, allocations: 0.9628 MB / 0.7785 GB, free: 139.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 110 * 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.003518/1.378, allocations: 6.493 MB / 0.7849 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005236/1.383, allocations: 3.354 MB / 0.7881 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.383, allocations: 3.031 kB / 0.7881 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009468/1.384, allocations: 0.9319 MB / 0.789 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.385, allocations: 208.5 kB / 0.7892 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03946/1.425, allocations: 16.85 MB / 0.8057 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003105/1.428, allocations: 3.186 MB / 0.8088 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004232/1.432, allocations: 1.866 MB / 0.8106 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002248/1.434, allocations: 1.65 MB / 0.8122 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/1.434, allocations: 0 / 0.8122 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08556/1.52, allocations: 51.88 MB / 0.8629 GB, free: 88.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/1.52, allocations: 127.4 kB / 0.863 GB, free: 88.28 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/4.685, allocations: 0 / 0.863 GB, free: 88.28 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat does not exist to compare? outputFormat=mat