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.00156/0.00156, allocations: 198.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001034, allocations: 101.5 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4221/0.4221, allocations: 45.23 MB / 394.6 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002793, allocations: 8 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3697, allocations: 63.25 MB / 0.5193 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4957, allocations: 99.34 MB / 0.6163 GB, free: 4.062 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.496, allocations: 83.88 kB / 0.6164 GB, free: 3.984 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4864/0.9824, allocations: 76.14 MB / 0.6907 GB, free: 102.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.16e-06/0.9824, allocations: 3.188 kB / 0.6907 GB, free: 102.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001374/0.9826, allocations: 72.22 kB / 0.6908 GB, free: 102.2 MB / 490.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.01438/0.9969, allocations: 3.747 MB / 0.6944 GB, free: 100.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.997, allocations: 8.969 kB / 0.6945 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00389/1.001, allocations: 0.7413 MB / 0.6952 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/1.016, allocations: 3.309 MB / 0.6984 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008274/1.024, allocations: 2.44 MB / 0.7008 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/1.024, allocations: 277.2 kB / 0.7011 GB, free: 99.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002333/1.027, allocations: 357 kB / 0.7014 GB, free: 99.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/1.05, allocations: 9.573 MB / 0.7107 GB, free: 98.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/1.05, allocations: 17.59 kB / 0.7108 GB, free: 98.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/1.051, allocations: 163.5 kB / 0.7109 GB, free: 98.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001519/1.053, allocations: 1.1 MB / 0.712 GB, free: 98.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/1.07, allocations: 9.25 MB / 0.721 GB, free: 96.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04805/1.118, allocations: 32.9 MB / 0.7532 GB, free: 77.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005999/1.124, allocations: 3.525 MB / 0.7566 GB, free: 75.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0132/1.137, allocations: 7.494 MB / 0.7639 GB, free: 71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.137, allocations: 39.16 kB / 0.764 GB, free: 70.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 5.461e-06/1.137, allocations: 4 kB / 0.764 GB, free: 70.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=135): time 0.00774/1.145, allocations: 3.708 MB / 0.7676 GB, free: 68.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/1.145, allocations: 119.4 kB / 0.7677 GB, free: 68.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004872/1.15, allocations: 2.478 MB / 0.7701 GB, free: 66.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002674/1.151, allocations: 41.7 kB / 0.7702 GB, free: 66.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/1.152, allocations: 2.755 MB / 0.7728 GB, free: 63.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007642/1.153, allocations: 0.5334 MB / 0.7734 GB, free: 63.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/1.153, allocations: 84 kB / 0.7734 GB, free: 63.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003088/1.153, allocations: 0.5075 MB / 0.7739 GB, free: 62.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/1.155, allocations: 1.389 MB / 0.7753 GB, free: 61.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/1.159, allocations: 4.247 MB / 0.7794 GB, free: 56.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/1.162, allocations: 2.448 MB / 0.7818 GB, free: 54.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.324e-05/1.162, allocations: 36 kB / 0.7819 GB, free: 54.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=607) (initialization): time 0.008427/1.17, allocations: 5.473 MB / 0.7872 GB, free: 49.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/1.17, allocations: 48 kB / 0.7873 GB, free: 49.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.293e-05/1.17, allocations: 100 kB / 0.7874 GB, free: 48.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/1.171, allocations: 148 kB / 0.7875 GB, free: 48.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/1.173, allocations: 1.045 MB / 0.7885 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001041/1.173, allocations: 195.2 kB / 0.7887 GB, free: 47.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/1.177, allocations: 0.6343 MB / 0.7893 GB, free: 46.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000568/1.178, allocations: 308 kB / 0.7896 GB, free: 46.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 465 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 553 * 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.003421/1.181, allocations: 1.989 MB / 0.7916 GB, free: 44.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/1.182, allocations: 228.9 kB / 0.7918 GB, free: 44.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/1.182, allocations: 301.1 kB / 0.7921 GB, free: 44.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/1.182, allocations: 16 kB / 0.7921 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.182, allocations: 0 / 0.7921 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.182, allocations: 3.984 kB / 0.7921 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009861/1.192, allocations: 6.21 MB / 0.7981 GB, free: 37.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.192, allocations: 8 kB / 0.7982 GB, free: 37.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/1.193, allocations: 163.7 kB / 0.7983 GB, free: 37.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/1.193, allocations: 12 kB / 0.7983 GB, free: 37.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/1.193, allocations: 28 kB / 0.7983 GB, free: 37.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/1.193, allocations: 19.92 kB / 0.7984 GB, free: 37.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.627e-06/1.193, allocations: 15.89 kB / 0.7984 GB, free: 37.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/1.195, allocations: 2.639 MB / 0.801 GB, free: 34.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/1.196, allocations: 341.6 kB / 0.8013 GB, free: 34.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/1.196, allocations: 31.81 kB / 0.8013 GB, free: 34.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007014/1.197, allocations: 51.95 kB / 0.8014 GB, free: 34.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.197, allocations: 80.33 kB / 0.8014 GB, free: 34.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/1.197, allocations: 51.19 kB / 0.8015 GB, free: 34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002505/1.199, allocations: 1.702 MB / 0.8032 GB, free: 32.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.199, allocations: 0 / 0.8032 GB, free: 32.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00399/1.203, allocations: 1.042 MB / 0.8042 GB, free: 31.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * 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.002984/1.206, allocations: 5.304 MB / 0.8093 GB, free: 25.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004777/1.211, allocations: 3.255 MB / 0.8125 GB, free: 22.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.211, allocations: 1.812 kB / 0.8125 GB, free: 22.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007971/1.212, allocations: 0.7893 MB / 0.8133 GB, free: 21.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.213, allocations: 283.9 kB / 0.8136 GB, free: 21.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3327/1.546, allocations: 102.1 MB / 0.9133 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004085/1.55, allocations: 3.173 MB / 0.9164 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004658/1.555, allocations: 1.642 MB / 0.918 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003245/1.558, allocations: 1.598 MB / 0.9196 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.392e-06/1.558, allocations: 3.219 kB / 0.9196 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09456/1.653, allocations: 52.61 MB / 0.971 GB, free: 97.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.653, allocations: 185.6 kB / 0.9711 GB, free: 96.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.95/5.603, allocations: 3.938 kB / 0.9711 GB, free: 96.78 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