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.001123/0.001123, allocations: 100.6 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001285, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2044/0.2044, allocations: 45.91 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 11.98 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 63.46 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02487/0.1553, allocations: 24.78 MB / 0.4944 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.1696, allocations: 5.834 MB / 0.5001 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.1735, allocations: 115.8 kB / 0.5002 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.1774, allocations: 1.283 MB / 0.5015 GB, free: 5.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.1883, allocations: 3.729 MB / 0.5051 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1894, allocations: 119.8 kB / 0.5052 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2721/0.4616, allocations: 24.42 MB / 0.5291 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00507/0.4667, allocations: 2.611 MB / 0.5316 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.4688, allocations: 0.7965 MB / 0.5324 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06069/0.5295, allocations: 46.68 MB / 0.578 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008205/0.5303, allocations: 120 kB / 0.5781 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.5319, allocations: 0.5322 MB / 0.5786 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.5337, allocations: 1.266 MB / 0.5799 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007534/0.5344, allocations: 0.724 MB / 0.5806 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004402/0.5388, allocations: 4.53 MB / 0.585 GB, free: 15.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5389, allocations: 0 / 0.585 GB, free: 15.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5389, allocations: 0 / 0.585 GB, free: 15.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001174/0.539, allocations: 4 kB / 0.585 GB, free: 15.15 MB / 430.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.006478/0.5455, allocations: 3.451 MB / 0.5884 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5455, allocations: 12.03 kB / 0.5884 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.5466, allocations: 0.6875 MB / 0.5891 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.5575, allocations: 3.594 MB / 0.5926 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.5616, allocations: 1.794 MB / 0.5943 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.5618, allocations: 188.6 kB / 0.5945 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007448/0.5625, allocations: 236.9 kB / 0.5947 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.5774, allocations: 9.787 MB / 0.6043 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.414e-05/0.5775, allocations: 23.72 kB / 0.6043 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003528/0.5779, allocations: 111.8 kB / 0.6044 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0035/0.5814, allocations: 2.36 MB / 0.6067 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/0.597, allocations: 8.983 MB / 0.6155 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04562/0.6427, allocations: 29.79 MB / 0.6446 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/0.6494, allocations: 3.477 MB / 0.648 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.6607, allocations: 5.919 MB / 0.6538 GB, free: 7.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.6608, allocations: 44.95 kB / 0.6538 GB, free: 7.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=138): time 4.378e-06/0.6608, allocations: 0 / 0.6538 GB, free: 7.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=138): time 0.008598/0.6694, allocations: 3.759 MB / 0.6575 GB, free: 3.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.6695, allocations: 115.4 kB / 0.6576 GB, free: 3.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/0.6731, allocations: 2.708 MB / 0.6602 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/0.6732, allocations: 37.7 kB / 0.6603 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001938/0.6751, allocations: 2.735 MB / 0.6629 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000491/0.6756, allocations: 0.5206 MB / 0.6634 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.6758, allocations: 88 kB / 0.6635 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003006/0.6761, allocations: 0.5098 MB / 0.664 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.678, allocations: 1.389 MB / 0.6654 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.6819, allocations: 4.197 MB / 0.6695 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003161/0.685, allocations: 2.427 MB / 0.6719 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.728e-05/0.6851, allocations: 28 kB / 0.6719 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008112/0.6932, allocations: 5.415 MB / 0.6772 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.214e-05/0.6933, allocations: 48 kB / 0.6772 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.6934, allocations: 100 kB / 0.6773 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.6936, allocations: 148 kB / 0.6775 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.6964, allocations: 0.9942 MB / 0.6784 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001499/0.6966, allocations: 199.2 kB / 0.6786 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/0.6998, allocations: 0.6138 MB / 0.6792 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004955/0.7003, allocations: 288 kB / 0.6795 GB, free: 11.4 MB / 0.5137 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.003245/0.7035, allocations: 1.977 MB / 0.6814 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003989/0.7039, allocations: 229 kB / 0.6816 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.7044, allocations: 288.8 kB / 0.6819 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/0.7045, allocations: 19.98 kB / 0.6819 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.7045, allocations: 4 kB / 0.6819 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7045, allocations: 3.984 kB / 0.6819 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.7151, allocations: 6.261 MB / 0.6881 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.7152, allocations: 8 kB / 0.6881 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.7159, allocations: 167.7 kB / 0.6882 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/0.7159, allocations: 16 kB / 0.6882 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.716, allocations: 31.98 kB / 0.6883 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/0.716, allocations: 19.92 kB / 0.6883 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/0.7161, allocations: 19.89 kB / 0.6883 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.7188, allocations: 2.721 MB / 0.691 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.7195, allocations: 327.4 kB / 0.6913 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.7197, allocations: 31.77 kB / 0.6913 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.7204, allocations: 43.95 kB / 0.6913 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.7205, allocations: 88.3 kB / 0.6914 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/0.7206, allocations: 48 kB / 0.6915 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002444/0.7231, allocations: 1.65 MB / 0.6931 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7231, allocations: 7.938 kB / 0.6931 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003969/0.727, allocations: 1.05 MB / 0.6941 GB, free: 11.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (96): * Single equations (assignments): 90 * 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.004872/0.7319, allocations: 5.566 MB / 0.6996 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008019/0.74, allocations: 3.233 MB / 0.7027 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.74, allocations: 4 kB / 0.7027 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.7417, allocations: 0.8057 MB / 0.7035 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.7438, allocations: 287.4 kB / 0.7038 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2727/1.016, allocations: 83.32 MB / 0.7851 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00511/1.022, allocations: 3.182 MB / 0.7883 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004597/1.026, allocations: 1.554 MB / 0.7898 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/1.029, allocations: 1.603 MB / 0.7913 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of SimCode: time 7.42e-07/1.029, allocations: 0 / 0.7913 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07353/1.102, allocations: 51.11 MB / 0.8412 GB, free: 63.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/1.103, allocations: 173 kB / 0.8414 GB, free: 63.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.351, allocations: 0 / 0.8414 GB, free: 63.31 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