Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009539/0.000954, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009198/0.0009197, allocations: 94.27 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2146/0.2146, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.051e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1325, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.5864, allocations: 95.73 MB / 0.5595 GB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5867, allocations: 88.06 kB / 0.5596 GB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1617/0.7484, allocations: 67.21 MB / 0.6252 GB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.7484, allocations: 0 / 0.6252 GB, free: 4.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000115/0.7486, allocations: 64 kB / 0.6253 GB, free: 4.582 MB / 426.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.01146/0.76, allocations: 3.049 MB / 0.6283 GB, free: 1.477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.7601, allocations: 8.031 kB / 0.6283 GB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.7755, allocations: 3.282 MB / 0.6315 GB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007038/0.7826, allocations: 2.075 MB / 0.6335 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.7829, allocations: 116 kB / 0.6336 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002298/0.7852, allocations: 208 kB / 0.6338 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01303/0.7982, allocations: 6.41 MB / 0.6401 GB, free: 5.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02221/0.8205, allocations: 8.482 MB / 0.6484 GB, free: 12.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/0.8207, allocations: 19.81 kB / 0.6484 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002013/0.8228, allocations: 12 kB / 0.6484 GB, free: 12.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001612/0.8244, allocations: 1.054 MB / 0.6494 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04359/0.868, allocations: 26.65 MB / 0.6754 GB, free: 92 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.871, allocations: 2.685 MB / 0.6781 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.8721, allocations: 0.8818 MB / 0.6789 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.8735, allocations: 1.622 MB / 0.6805 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.8736, allocations: 55.8 kB / 0.6806 GB, free: 10.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 3.496e-06/0.8736, allocations: 0 / 0.6806 GB, free: 10.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.004076/0.8777, allocations: 2.13 MB / 0.6826 GB, free: 8.195 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.8777, allocations: 60.72 kB / 0.6827 GB, free: 8.121 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/0.8808, allocations: 2.059 MB / 0.6847 GB, free: 6.035 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/0.8809, allocations: 25.7 kB / 0.6847 GB, free: 6.004 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.8827, allocations: 2.637 MB / 0.6873 GB, free: 3.324 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/0.8832, allocations: 0.5937 MB / 0.6879 GB, free: 2.723 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.8834, allocations: 4.094 kB / 0.6879 GB, free: 2.719 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003267/0.8837, allocations: 0.568 MB / 0.6885 GB, free: 2.141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.8855, allocations: 1.349 MB / 0.6898 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003416/0.8889, allocations: 4.326 MB / 0.694 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003079/0.892, allocations: 2.474 MB / 0.6964 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.897e-05/0.8921, allocations: 28 kB / 0.6964 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of matching and sorting (n=642) (initialization): time 0.007737/0.8998, allocations: 5.001 MB / 0.7013 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.8999, allocations: 52 kB / 0.7014 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.9, allocations: 108 kB / 0.7015 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.9002, allocations: 160.1 kB / 0.7016 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/0.9032, allocations: 1.072 MB / 0.7027 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001675/0.9034, allocations: 215.2 kB / 0.7029 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.9064, allocations: 0.5364 MB / 0.7034 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003931/0.9068, allocations: 304 kB / 0.7037 GB, free: 1.004 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (594): * Single equations (assignments): 588 * 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.0005223/0.9073, allocations: 372.5 kB / 0.704 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2822/1.19, allocations: 1.77 MB / 0.7058 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005825/1.19, allocations: 220.7 kB / 0.706 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/1.194, allocations: 2.039 MB / 0.708 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/1.194, allocations: 19.31 kB / 0.708 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.194, allocations: 0 / 0.708 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.194, allocations: 3.469 kB / 0.708 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.208, allocations: 6.053 MB / 0.7139 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/1.209, allocations: 8.094 kB / 0.7139 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000969/1.21, allocations: 202.6 kB / 0.7141 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.282e-05/1.21, allocations: 15.12 kB / 0.7141 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/1.21, allocations: 23 kB / 0.7141 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.86e-05/1.21, allocations: 16.56 kB / 0.7142 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/1.21, allocations: 14.75 kB / 0.7142 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/1.214, allocations: 2.968 MB / 0.7171 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008635/1.215, allocations: 309.9 kB / 0.7174 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006281/1.215, allocations: 15.81 kB / 0.7174 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.217, allocations: 34.53 kB / 0.7174 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.217, allocations: 101.1 kB / 0.7175 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.217, allocations: 54.41 kB / 0.7176 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003492/1.221, allocations: 1.342 MB / 0.7189 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.81e-07/1.221, allocations: 0 / 0.7189 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005594/1.226, allocations: 0.9262 MB / 0.7198 GB, free: 136.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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.005712/1.232, allocations: 6.1 MB / 0.7257 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006093/1.238, allocations: 3.232 MB / 0.7289 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/1.238, allocations: 2.438 kB / 0.7289 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/1.239, allocations: 0.9277 MB / 0.7298 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/1.241, allocations: 167.1 kB / 0.73 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/1.262, allocations: 7.441 MB / 0.7372 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003447/1.265, allocations: 3.056 MB / 0.7402 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003928/1.269, allocations: 1.719 MB / 0.7419 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/1.271, allocations: 1.53 MB / 0.7434 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/1.271, allocations: 0 / 0.7434 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08288/1.354, allocations: 47.91 MB / 0.7902 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/1.354, allocations: 134.1 kB / 0.7903 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.346/4.7, allocations: 0 / 0.7903 GB, free: 104.3 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)