Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009079/0.000908, allocations: 93 kB / 16.98 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.001008/0.001008, allocations: 204.5 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.451/1.451, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 45.92 MB / 344 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 4 kB / 418 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 63.46 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02412/0.1702, allocations: 24.54 MB / 0.4942 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.184, allocations: 5.627 MB / 0.4997 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004826/0.1889, allocations: 115.8 kB / 0.4998 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.1924, allocations: 1.275 MB / 0.501 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.2027, allocations: 3.631 MB / 0.5046 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008993/0.2036, allocations: 83.92 kB / 0.5047 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.2062, allocations: 1.503 MB / 0.5061 GB, free: 436 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2954/0.5016, allocations: 2.128 MB / 0.5082 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.503, allocations: 0.7411 MB / 0.5089 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.5046, allocations: 0.9816 MB / 0.5099 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004615/0.5051, allocations: 116.5 kB / 0.51 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000963/0.5061, allocations: 381.1 kB / 0.5104 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.5073, allocations: 1.186 MB / 0.5115 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007701/0.5081, allocations: 0.6883 MB / 0.5122 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005279/0.5134, allocations: 4.162 MB / 0.5163 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5134, allocations: 0 / 0.5163 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.5134, allocations: 0 / 0.5163 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001777/0.5136, allocations: 0 / 0.5163 GB, free: 10.89 MB / 382.1 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.00571/0.5193, allocations: 2.979 MB / 0.5192 GB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5194, allocations: 9.625 kB / 0.5192 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0015/0.5209, allocations: 0.668 MB / 0.5198 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.5334, allocations: 3.576 MB / 0.5233 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006395/0.5399, allocations: 1.511 MB / 0.5248 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.5402, allocations: 173.6 kB / 0.525 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.5422, allocations: 220 kB / 0.5252 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.5603, allocations: 9.499 MB / 0.5345 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.844e-05/0.5605, allocations: 20.97 kB / 0.5345 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00044/0.561, allocations: 110.1 kB / 0.5346 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/0.5649, allocations: 2.367 MB / 0.5369 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.5829, allocations: 8.692 MB / 0.5454 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05555/0.6385, allocations: 29.34 MB / 0.574 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/0.6443, allocations: 3.053 MB / 0.577 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.655, allocations: 4.87 MB / 0.5818 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.6551, allocations: 39.78 kB / 0.5818 GB, free: 12.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.68e-06/0.6551, allocations: 0 / 0.5818 GB, free: 12.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.007116/0.6622, allocations: 3.246 MB / 0.585 GB, free: 9.539 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.6623, allocations: 60.06 kB / 0.585 GB, free: 9.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005739/0.668, allocations: 2.551 MB / 0.5875 GB, free: 6.891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.6682, allocations: 44.67 kB / 0.5876 GB, free: 6.844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002249/0.6705, allocations: 2.644 MB / 0.5902 GB, free: 4.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006062/0.6711, allocations: 0.4958 MB / 0.5906 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.6713, allocations: 80 kB / 0.5907 GB, free: 3.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003769/0.6716, allocations: 0.5476 MB / 0.5912 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.6739, allocations: 1.336 MB / 0.5926 GB, free: 1.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004177/0.678, allocations: 4.087 MB / 0.5965 GB, free: 12.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/0.682, allocations: 2.352 MB / 0.5988 GB, free: 10.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.494e-05/0.682, allocations: 28 kB / 0.5989 GB, free: 10.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01038/0.6924, allocations: 5.252 MB / 0.604 GB, free: 4.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/0.6925, allocations: 55.83 kB / 0.6041 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.6927, allocations: 96 kB / 0.6041 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.6928, allocations: 144 kB / 0.6043 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.6959, allocations: 0.9708 MB / 0.6052 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001774/0.6961, allocations: 191.2 kB / 0.6054 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003475/0.6995, allocations: 0.6151 MB / 0.606 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006243/0.7002, allocations: 268 kB / 0.6063 GB, free: 2.512 MB / 446.1 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 (540): * Single equations (assignments): 534 * 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.00413/0.7043, allocations: 1.898 MB / 0.6081 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/0.7048, allocations: 221 kB / 0.6083 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/0.7053, allocations: 267.4 kB / 0.6086 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/0.7054, allocations: 16 kB / 0.6086 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.7054, allocations: 4 kB / 0.6086 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.7054, allocations: 3.984 kB / 0.6086 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.716, allocations: 5.595 MB / 0.6141 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.7161, allocations: 4.562 kB / 0.6141 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.7167, allocations: 139.8 kB / 0.6142 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.7167, allocations: 8 kB / 0.6142 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/0.7168, allocations: 33.47 kB / 0.6142 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.7168, allocations: 11.94 kB / 0.6143 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.7168, allocations: 8 kB / 0.6143 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.7196, allocations: 2.115 MB / 0.6163 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009174/0.7205, allocations: 301.9 kB / 0.6166 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.7208, allocations: 30.36 kB / 0.6167 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.7215, allocations: 31.97 kB / 0.6167 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.7216, allocations: 68.38 kB / 0.6167 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/0.7217, allocations: 38.27 kB / 0.6168 GB, free: 7.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002909/0.7246, allocations: 1.549 MB / 0.6183 GB, free: 5.848 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.814e-06/0.7247, allocations: 0 / 0.6183 GB, free: 5.848 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00417/0.7288, allocations: 1.009 MB / 0.6193 GB, free: 4.84 MB / 462.1 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.003188/0.732, allocations: 3.867 MB / 0.6231 GB, free: 0.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005113/0.7372, allocations: 3.113 MB / 0.6261 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7372, allocations: 0 / 0.6261 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008613/0.7381, allocations: 0.7321 MB / 0.6268 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.7393, allocations: 240 kB / 0.627 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06424/0.8035, allocations: 88.49 MB / 0.7135 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2703/1.074, allocations: 3.042 MB / 0.7164 GB, free: 206.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004608/1.079, allocations: 1.485 MB / 0.7179 GB, free: 206.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00249/1.081, allocations: 1.519 MB / 0.7194 GB, free: 206.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.113e-06/1.081, allocations: 0 / 0.7194 GB, free: 206.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07084/1.152, allocations: 48.31 MB / 0.7665 GB, free: 171.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001261/1.152, allocations: 185.9 kB / 0.7667 GB, free: 171.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/3.928, allocations: 3.625 kB / 0.7667 GB, free: 171.1 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat does not exist to compare? outputFormat=mat