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/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.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/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 92.53 kB / 17 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 194.6 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 45.92 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002444, allocations: 11.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 63.46 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02588/0.1458, allocations: 26.13 MB / 0.4959 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1598, allocations: 5.606 MB / 0.5013 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0059/0.1657, allocations: 127.6 kB / 0.5015 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004805/0.1706, allocations: 1.268 MB / 0.5027 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.1835, allocations: 3.825 MB / 0.5064 GB, free: 184 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1849, allocations: 119.9 kB / 0.5066 GB, free: 64 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3034/0.4884, allocations: 31.23 MB / 0.5371 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003603/0.492, allocations: 2.611 MB / 0.5396 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.4938, allocations: 0.9625 MB / 0.5405 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06891/0.5627, allocations: 57.44 MB / 0.5966 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009506/0.5637, allocations: 120 kB / 0.5967 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.5656, allocations: 0.5356 MB / 0.5973 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002084/0.5677, allocations: 1.368 MB / 0.5986 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.569, allocations: 0.728 MB / 0.5993 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005248/0.5743, allocations: 4.534 MB / 0.6037 GB, free: 12.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5743, allocations: 0 / 0.6037 GB, free: 12.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5744, allocations: 4 kB / 0.6037 GB, free: 12.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002091/0.5746, allocations: 0 / 0.6037 GB, free: 12.52 MB / 446.1 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.007723/0.5823, allocations: 3.348 MB / 0.607 GB, free: 9.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.5824, allocations: 13.56 kB / 0.607 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00173/0.5841, allocations: 0.692 MB / 0.6077 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009414/0.5935, allocations: 3.048 MB / 0.6107 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.5977, allocations: 1.786 MB / 0.6124 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.598, allocations: 184.6 kB / 0.6126 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.5992, allocations: 241.6 kB / 0.6128 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.6183, allocations: 9.733 MB / 0.6223 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-05/0.6184, allocations: 19.81 kB / 0.6224 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009227/0.6194, allocations: 113.3 kB / 0.6225 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003906/0.6233, allocations: 2.369 MB / 0.6248 GB, free: 6.523 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.6417, allocations: 8.905 MB / 0.6335 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04858/0.6903, allocations: 29.74 MB / 0.6625 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006702/0.6971, allocations: 3.47 MB / 0.6659 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.6989, allocations: 1.095 MB / 0.667 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.7093, allocations: 6.466 MB / 0.6733 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.7094, allocations: 47.16 kB / 0.6733 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.51e-06/0.7094, allocations: 3.984 kB / 0.6733 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.007447/0.7169, allocations: 3.114 MB / 0.6764 GB, free: 272 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.7169, allocations: 111.5 kB / 0.6765 GB, free: 136 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004488/0.7214, allocations: 2.729 MB / 0.6791 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.7216, allocations: 45.62 kB / 0.6792 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.7234, allocations: 2.739 MB / 0.6819 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.7239, allocations: 0.5168 MB / 0.6824 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.7241, allocations: 84 kB / 0.6825 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003104/0.7245, allocations: 0.5004 MB / 0.6829 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.7266, allocations: 1.387 MB / 0.6843 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/0.7304, allocations: 4.209 MB / 0.6884 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/0.7339, allocations: 2.433 MB / 0.6908 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.004e-05/0.734, allocations: 28 kB / 0.6908 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008808/0.7428, allocations: 5.411 MB / 0.6961 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/0.7429, allocations: 48 kB / 0.6961 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/0.7431, allocations: 100.9 kB / 0.6962 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.7432, allocations: 144 kB / 0.6964 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/0.746, allocations: 0.9981 MB / 0.6973 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001864/0.7462, allocations: 199.2 kB / 0.6975 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.7491, allocations: 0.616 MB / 0.6981 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003994/0.7495, allocations: 295.9 kB / 0.6984 GB, free: 8.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * 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 (551): * Single equations (assignments): 543 * Array equations: 8 * 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.003124/0.7526, allocations: 1.969 MB / 0.7003 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/0.7531, allocations: 228.9 kB / 0.7006 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006239/0.7537, allocations: 296.8 kB / 0.7008 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/0.7537, allocations: 19.98 kB / 0.7009 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.7538, allocations: 0 / 0.7009 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.7538, allocations: 7.969 kB / 0.7009 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2662/1.02, allocations: 6.177 MB / 0.7069 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.02, allocations: 8.094 kB / 0.7069 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/1.021, allocations: 161.5 kB / 0.7071 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.561e-05/1.021, allocations: 12.44 kB / 0.7071 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.857e-05/1.021, allocations: 33.33 kB / 0.7071 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.768e-05/1.021, allocations: 20.09 kB / 0.7071 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/1.021, allocations: 12.91 kB / 0.7071 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/1.024, allocations: 1.983 MB / 0.7091 GB, free: 182.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/1.024, allocations: 325.6 kB / 0.7094 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/1.024, allocations: 27.27 kB / 0.7094 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/1.025, allocations: 46.33 kB / 0.7095 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.025, allocations: 86.27 kB / 0.7095 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.025, allocations: 54.98 kB / 0.7096 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002748/1.028, allocations: 1.656 MB / 0.7112 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.028, allocations: 0 / 0.7112 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004009/1.032, allocations: 1.045 MB / 0.7122 GB, free: 181.9 MB / 0.5294 GB 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.003128/1.035, allocations: 2.645 MB / 0.7148 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005738/1.041, allocations: 3.229 MB / 0.718 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.041, allocations: 1.156 kB / 0.718 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.042, allocations: 0.7942 MB / 0.7187 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/1.044, allocations: 282.4 kB / 0.719 GB, free: 179 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03585/1.08, allocations: 22.91 MB / 0.7414 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/1.083, allocations: 3.107 MB / 0.7444 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003237/1.086, allocations: 1.55 MB / 0.7459 GB, free: 162 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/1.088, allocations: 1.598 MB / 0.7475 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/1.088, allocations: 0 / 0.7475 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07625/1.164, allocations: 51.59 MB / 0.7979 GB, free: 110 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/1.165, allocations: 178 kB / 0.798 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/4.542, allocations: 0 / 0.798 GB, free: 109.8 MB / 0.5294 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