Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2385/0.2385, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 83.88 kB / 480.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3684, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009771/0.3782, allocations: 7.477 MB / 0.5379 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00719/0.3855, allocations: 3.357 MB / 0.5412 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.3866, allocations: 36.84 kB / 0.5412 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.3888, allocations: 0.7902 MB / 0.542 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.3925, allocations: 1.295 MB / 0.5432 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.3941, allocations: 0.5226 MB / 0.5437 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.3986, allocations: 2.603 MB / 0.5463 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.4006, allocations: 1.229 MB / 0.5475 GB, free: 368 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.4021, allocations: 0.7666 MB / 0.5482 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.404, allocations: 1.117 MB / 0.5493 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004704/0.4045, allocations: 140 kB / 0.5495 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.4065, allocations: 0.9321 MB / 0.5504 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.4076, allocations: 1.001 MB / 0.5513 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.409, allocations: 1.211 MB / 0.5525 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005273/0.4142, allocations: 4.041 MB / 0.5565 GB, free: 7.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4143, allocations: 0 / 0.5565 GB, free: 7.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4143, allocations: 0 / 0.5565 GB, free: 7.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.808e-05/0.4144, allocations: 4 kB / 0.5565 GB, free: 7.117 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.00623/0.4206, allocations: 3.038 MB / 0.5594 GB, free: 4.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4207, allocations: 8.031 kB / 0.5595 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000689/0.4214, allocations: 458.5 kB / 0.5599 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006364/0.4278, allocations: 1.68 MB / 0.5615 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/0.4313, allocations: 1.543 MB / 0.563 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.4316, allocations: 127.4 kB / 0.5632 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/0.4321, allocations: 163.8 kB / 0.5633 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.4437, allocations: 6.452 MB / 0.5696 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-05/0.4439, allocations: 31.75 kB / 0.5696 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.4442, allocations: 87.88 kB / 0.5697 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002822/0.447, allocations: 1.441 MB / 0.5711 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.4592, allocations: 5.728 MB / 0.5767 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03582/0.4951, allocations: 26.77 MB / 0.6029 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004817/0.4999, allocations: 2.149 MB / 0.605 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.5015, allocations: 1.035 MB / 0.606 GB, free: 2.754 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002278/0.5018, allocations: 178.5 kB / 0.6061 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.5018, allocations: 46.83 kB / 0.6062 GB, free: 2.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.166e-06/0.5018, allocations: 3.938 kB / 0.6062 GB, free: 2.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.0172/0.5191, allocations: 6.508 MB / 0.6126 GB, free: 11.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.786e-05/0.5192, allocations: 144.9 kB / 0.6127 GB, free: 11.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004286/0.5235, allocations: 2.894 MB / 0.6155 GB, free: 8.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.5237, allocations: 41.7 kB / 0.6156 GB, free: 8.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.5256, allocations: 2.19 MB / 0.6177 GB, free: 6.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005928/0.5262, allocations: 472.5 kB / 0.6181 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/0.5276, allocations: 0.9051 MB / 0.619 GB, free: 5.242 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5277, allocations: 305.1 kB / 0.6193 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/0.53, allocations: 1.418 MB / 0.6207 GB, free: 3.516 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005241/0.5353, allocations: 4.295 MB / 0.6249 GB, free: 13.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008555/0.5439, allocations: 6.185 MB / 0.6309 GB, free: 6.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/0.5441, allocations: 28 kB / 0.631 GB, free: 6.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01065/0.5547, allocations: 5.497 MB / 0.6363 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/0.5548, allocations: 51.98 kB / 0.6364 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/0.555, allocations: 100 kB / 0.6365 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.5551, allocations: 136 kB / 0.6366 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004637/0.5598, allocations: 1.229 MB / 0.6378 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001988/0.56, allocations: 203.2 kB / 0.638 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/0.563, allocations: 243.6 kB / 0.6382 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006832/0.5637, allocations: 280 kB / 0.6385 GB, free: 14.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00249/0.5662, allocations: 1.38 MB / 0.6398 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000526/0.5667, allocations: 254.3 kB / 0.6401 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.569, allocations: 1.241 MB / 0.6413 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.535e-05/0.5691, allocations: 23.86 kB / 0.6413 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5691, allocations: 0 / 0.6413 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.5691, allocations: 7.984 kB / 0.6413 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008811/0.5779, allocations: 4.551 MB / 0.6458 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.578, allocations: 4 kB / 0.6458 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/0.58, allocations: 363.3 kB / 0.6461 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.859e-05/0.58, allocations: 11.98 kB / 0.6461 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.5802, allocations: 24 kB / 0.6462 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/0.5802, allocations: 8 kB / 0.6462 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.5802, allocations: 11.94 kB / 0.6462 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.5833, allocations: 2.175 MB / 0.6483 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007308/0.5841, allocations: 315.2 kB / 0.6486 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.5844, allocations: 20 kB / 0.6486 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.5854, allocations: 59.92 kB / 0.6487 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.5856, allocations: 67.8 kB / 0.6487 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.5857, allocations: 52.2 kB / 0.6488 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003193/0.5889, allocations: 1.815 MB / 0.6506 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.589, allocations: 0 / 0.6506 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00349/0.5925, allocations: 0.6208 MB / 0.6512 GB, free: 1.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003715/0.5962, allocations: 2.791 MB / 0.6539 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005687/0.6019, allocations: 3.274 MB / 0.6571 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.602, allocations: 4 kB / 0.6571 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.6032, allocations: 0.7894 MB / 0.6579 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.6052, allocations: 276.6 kB / 0.6581 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04887/0.6541, allocations: 29.79 MB / 0.6872 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003138/0.6573, allocations: 2.209 MB / 0.6894 GB, free: 5.938 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003858/0.6612, allocations: 1.459 MB / 0.6908 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002351/0.6636, allocations: 1.081 MB / 0.6919 GB, free: 3.391 MB / 0.545 GB Notification: Performance of SimCode: time 5.64e-06/0.6636, allocations: 0 / 0.6919 GB, free: 3.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3128/0.9764, allocations: 41.23 MB / 0.7321 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.29/18.27, allocations: 8.844 kB / 0.7321 GB, free: 181.6 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1)