Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 180.1 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 99.28 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4404/0.4404, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4212, allocations: 61.91 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.5621, allocations: 97.89 MB / 0.6052 GB, free: 13.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.5624, allocations: 79.94 kB / 0.6053 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1829/0.7454, allocations: 69.68 MB / 0.6734 GB, free: 6.801 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.7454, allocations: 0 / 0.6734 GB, free: 6.801 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001684/0.7456, allocations: 64 kB / 0.6734 GB, free: 6.738 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.01109/0.7567, allocations: 3.142 MB / 0.6765 GB, free: 3.535 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.7568, allocations: 8.031 kB / 0.6765 GB, free: 3.527 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003415/0.7602, allocations: 0.7255 MB / 0.6772 GB, free: 2.793 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3403/1.101, allocations: 3.284 MB / 0.6804 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.111, allocations: 2.081 MB / 0.6824 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004527/1.112, allocations: 280.2 kB / 0.6827 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002512/1.114, allocations: 357.1 kB / 0.683 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/1.133, allocations: 9.052 MB / 0.6919 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.53e-05/1.133, allocations: 19.44 kB / 0.6919 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008311/1.134, allocations: 161.5 kB / 0.6921 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001489/1.135, allocations: 1.049 MB / 0.6931 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/1.152, allocations: 8.647 MB / 0.7015 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04952/1.201, allocations: 29.22 MB / 0.7301 GB, free: 82.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/1.206, allocations: 3.053 MB / 0.733 GB, free: 80.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007941/1.214, allocations: 4.879 MB / 0.7378 GB, free: 78.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.214, allocations: 46.47 kB / 0.7379 GB, free: 78.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 5.891e-06/1.214, allocations: 0 / 0.7379 GB, free: 78.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.005939/1.22, allocations: 3.235 MB / 0.741 GB, free: 76.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/1.22, allocations: 67.3 kB / 0.7411 GB, free: 76.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003567/1.224, allocations: 2.295 MB / 0.7433 GB, free: 75.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.509e-05/1.224, allocations: 36.95 kB / 0.7434 GB, free: 75.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/1.225, allocations: 2.638 MB / 0.7459 GB, free: 73.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/1.225, allocations: 0.4891 MB / 0.7464 GB, free: 73.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/1.225, allocations: 85.88 kB / 0.7465 GB, free: 73.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002762/1.226, allocations: 0.5486 MB / 0.747 GB, free: 73.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/1.227, allocations: 1.338 MB / 0.7483 GB, free: 72.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/1.23, allocations: 4.078 MB / 0.7523 GB, free: 68.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/1.232, allocations: 2.357 MB / 0.7546 GB, free: 67.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.865e-05/1.232, allocations: 26.31 kB / 0.7546 GB, free: 67.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.007066/1.239, allocations: 5.238 MB / 0.7598 GB, free: 65.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/1.24, allocations: 48.75 kB / 0.7598 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-05/1.24, allocations: 97.84 kB / 0.7599 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/1.24, allocations: 144.4 kB / 0.76 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/1.242, allocations: 0.969 MB / 0.761 GB, free: 65.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001114/1.242, allocations: 192.6 kB / 0.7612 GB, free: 65.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/1.246, allocations: 0.6124 MB / 0.7618 GB, free: 65.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/1.246, allocations: 274.6 kB / 0.762 GB, free: 65.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (538): * Single equations (assignments): 532 * 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.002976/1.249, allocations: 1.879 MB / 0.7639 GB, free: 64.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/1.25, allocations: 219.2 kB / 0.7641 GB, free: 64.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/1.25, allocations: 270.7 kB / 0.7643 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/1.25, allocations: 20.23 kB / 0.7643 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.25, allocations: 0 / 0.7643 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.25, allocations: 3.234 kB / 0.7644 GB, free: 64.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009852/1.26, allocations: 5.632 MB / 0.7699 GB, free: 61.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.26, allocations: 2.344 kB / 0.7699 GB, free: 61.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/1.261, allocations: 137.7 kB / 0.77 GB, free: 61.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/1.261, allocations: 8.562 kB / 0.77 GB, free: 61.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/1.261, allocations: 31.61 kB / 0.77 GB, free: 61.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/1.261, allocations: 8 kB / 0.77 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.261, allocations: 7.938 kB / 0.77 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/1.263, allocations: 2.112 MB / 0.7721 GB, free: 59.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007424/1.264, allocations: 304.3 kB / 0.7724 GB, free: 59.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/1.264, allocations: 29.25 kB / 0.7724 GB, free: 59.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/1.264, allocations: 33.61 kB / 0.7725 GB, free: 59.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.265, allocations: 67.77 kB / 0.7725 GB, free: 59.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/1.265, allocations: 43.45 kB / 0.7726 GB, free: 59.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002293/1.267, allocations: 1.546 MB / 0.7741 GB, free: 57.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.267, allocations: 0 / 0.7741 GB, free: 57.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005463/1.272, allocations: 1.012 MB / 0.7751 GB, free: 56.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * 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.003121/1.276, allocations: 3.878 MB / 0.7788 GB, free: 53.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004201/1.28, allocations: 3.106 MB / 0.7819 GB, free: 50.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.28, allocations: 4 kB / 0.7819 GB, free: 50.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/1.281, allocations: 0.73 MB / 0.7826 GB, free: 49.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.282, allocations: 237.1 kB / 0.7828 GB, free: 49.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05004/1.332, allocations: 88.56 MB / 0.8693 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003502/1.335, allocations: 3.039 MB / 0.8723 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003532/1.339, allocations: 1.487 MB / 0.8737 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/1.341, allocations: 1.496 MB / 0.8752 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/1.341, allocations: 3.938 kB / 0.8752 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3321/1.673, allocations: 48.45 MB / 0.9225 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/1.673, allocations: 176.6 kB / 0.9227 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/5.32, allocations: 0 / 0.9227 GB, free: 135.9 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat does not exist to compare? outputFormat=mat