Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 93.75 kB / 16.98 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 180.9 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2191/0.2191, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003028, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02412/0.147, allocations: 24.75 MB / 496.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.1594, allocations: 5.779 MB / 0.4903 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/0.163, allocations: 115.8 kB / 0.4904 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003689/0.1667, allocations: 1.283 MB / 0.4917 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.1773, allocations: 3.732 MB / 0.4953 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1784, allocations: 115.9 kB / 0.4954 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2723/0.4507, allocations: 24.41 MB / 0.5193 GB, free: 20 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003499/0.4543, allocations: 2.604 MB / 0.5218 GB, free: 19.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.4556, allocations: 0.799 MB / 0.5226 GB, free: 19.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05596/0.5115, allocations: 46.69 MB / 0.5682 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008778/0.5125, allocations: 120 kB / 0.5683 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.514, allocations: 0.5275 MB / 0.5688 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.5155, allocations: 1.268 MB / 0.57 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.5163, allocations: 0.7262 MB / 0.5708 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004588/0.5209, allocations: 4.533 MB / 0.5752 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.521, allocations: 1.641 kB / 0.5752 GB, free: 14.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.521, allocations: 0 / 0.5752 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000144/0.5211, allocations: 4 kB / 0.5752 GB, free: 14.7 MB / 414.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.005781/0.5269, allocations: 3.447 MB / 0.5786 GB, free: 11.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.527, allocations: 8.031 kB / 0.5786 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008915/0.5279, allocations: 0.6901 MB / 0.5792 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.539, allocations: 3.606 MB / 0.5828 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004369/0.5434, allocations: 1.783 MB / 0.5845 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.5436, allocations: 184.6 kB / 0.5847 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007066/0.5443, allocations: 239.8 kB / 0.5849 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.561, allocations: 9.795 MB / 0.5945 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.275e-05/0.5611, allocations: 14.41 kB / 0.5945 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000364/0.5615, allocations: 115.8 kB / 0.5946 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003927/0.5654, allocations: 2.365 MB / 0.5969 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.5835, allocations: 8.979 MB / 0.6057 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04822/0.6318, allocations: 29.78 MB / 0.6348 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006872/0.6387, allocations: 3.481 MB / 0.6382 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.65, allocations: 5.927 MB / 0.6439 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.6501, allocations: 47.22 kB / 0.644 GB, free: 6.918 MB / 478.1 MB Notification: Performance of pre-optimization done (n=138): time 4.99e-06/0.6501, allocations: 0 / 0.644 GB, free: 6.918 MB / 478.1 MB Notification: Performance of matching and sorting (n=138): time 0.008568/0.6587, allocations: 3.756 MB / 0.6477 GB, free: 3.039 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.6588, allocations: 111.5 kB / 0.6478 GB, free: 2.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003841/0.6626, allocations: 2.708 MB / 0.6504 GB, free: 184 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.6628, allocations: 41.64 kB / 0.6505 GB, free: 136 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.6648, allocations: 2.732 MB / 0.6531 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006602/0.6655, allocations: 0.5206 MB / 0.6536 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.6656, allocations: 92 kB / 0.6537 GB, free: 12.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003386/0.666, allocations: 0.5042 MB / 0.6542 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.6681, allocations: 1.383 MB / 0.6556 GB, free: 10.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004047/0.6722, allocations: 4.197 MB / 0.6597 GB, free: 5.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003572/0.6758, allocations: 2.426 MB / 0.662 GB, free: 2.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.315e-05/0.6758, allocations: 28 kB / 0.6621 GB, free: 2.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009082/0.6849, allocations: 5.42 MB / 0.6673 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.083e-05/0.685, allocations: 48 kB / 0.6674 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/0.6852, allocations: 100.1 kB / 0.6675 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.6853, allocations: 148 kB / 0.6676 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/0.6883, allocations: 0.9948 MB / 0.6686 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001758/0.6885, allocations: 195.2 kB / 0.6688 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/0.6922, allocations: 0.6197 MB / 0.6694 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000518/0.6928, allocations: 288 kB / 0.6697 GB, free: 11 MB / 0.4981 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.003809/0.6966, allocations: 1.979 MB / 0.6716 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/0.697, allocations: 233 kB / 0.6718 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.6975, allocations: 288.8 kB / 0.6721 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/0.6976, allocations: 16 kB / 0.6721 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.6976, allocations: 4 kB / 0.6721 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.6976, allocations: 3.984 kB / 0.6721 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.7079, allocations: 6.257 MB / 0.6782 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/0.708, allocations: 8 kB / 0.6782 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.7087, allocations: 171.7 kB / 0.6784 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.676e-05/0.7087, allocations: 19.94 kB / 0.6784 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/0.7088, allocations: 28 kB / 0.6784 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.1e-05/0.7088, allocations: 16.53 kB / 0.6785 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/0.7088, allocations: 19.92 kB / 0.6785 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.7117, allocations: 2.722 MB / 0.6811 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006723/0.7124, allocations: 329.7 kB / 0.6815 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.7126, allocations: 25.75 kB / 0.6815 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.7132, allocations: 43.95 kB / 0.6815 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.7134, allocations: 92.25 kB / 0.6816 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/0.7135, allocations: 51.98 kB / 0.6817 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002563/0.7161, allocations: 1.654 MB / 0.6833 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7161, allocations: 0 / 0.6833 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003782/0.7199, allocations: 1.038 MB / 0.6843 GB, free: 11.44 MB / 0.5137 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.003899/0.7238, allocations: 5.577 MB / 0.6897 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005283/0.7291, allocations: 3.241 MB / 0.6929 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.7291, allocations: 3.938 kB / 0.6929 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.7301, allocations: 0.7975 MB / 0.6937 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.7315, allocations: 274.2 kB / 0.6939 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2707/1.002, allocations: 83.33 MB / 0.7753 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007189/1.01, allocations: 3.187 MB / 0.7784 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007315/1.017, allocations: 1.55 MB / 0.7799 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003711/1.021, allocations: 1.601 MB / 0.7815 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.333e-06/1.021, allocations: 0 / 0.7815 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/1.137, allocations: 51.12 MB / 0.8314 GB, free: 84.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.137, allocations: 176.8 kB / 0.8316 GB, free: 83.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/4.495, allocations: 0 / 0.8316 GB, free: 83.88 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat does not exist to compare? outputFormat=mat