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.001241/0.001241, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2223/0.2223, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002287/0.002287, allocations: 76.52 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1253, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009685/0.135, allocations: 7.459 MB / 487.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007016/0.1421, allocations: 3.352 MB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1433, allocations: 31.94 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.1452, allocations: 0.8053 MB / 491.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.1483, allocations: 1.295 MB / 493.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1496, allocations: 0.5223 MB / 493.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003484/0.1531, allocations: 2.59 MB / 496.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.155, allocations: 1.245 MB / 497.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.1561, allocations: 0.7627 MB / 498.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.1577, allocations: 1.121 MB / 499.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003321/0.158, allocations: 143.9 kB / 499.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.1598, allocations: 0.9243 MB / 0.4887 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009896/0.1608, allocations: 1.005 MB / 0.4897 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.162, allocations: 1.215 MB / 0.4909 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.1664, allocations: 3.843 MB / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1664, allocations: 0 / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1665, allocations: 0 / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.625e-05/0.1665, allocations: 0 / 0.4946 GB, free: 10.73 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005341/0.1719, allocations: 2.953 MB / 0.4975 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1719, allocations: 8.031 kB / 0.4975 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005345/0.1725, allocations: 462.5 kB / 0.498 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/0.1786, allocations: 1.655 MB / 0.4996 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/0.1823, allocations: 1.531 MB / 0.5011 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.1825, allocations: 127.4 kB / 0.5012 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000411/0.1829, allocations: 163.8 kB / 0.5014 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2267/0.4096, allocations: 6.453 MB / 0.5077 GB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-05/0.4097, allocations: 38.08 kB / 0.5077 GB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/0.41, allocations: 83.91 kB / 0.5078 GB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/0.4127, allocations: 1.434 MB / 0.5092 GB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.4242, allocations: 5.73 MB / 0.5148 GB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0321/0.4563, allocations: 26.8 MB / 0.5409 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/0.4602, allocations: 2.138 MB / 0.543 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.4613, allocations: 1.042 MB / 0.5441 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.4615, allocations: 176.6 kB / 0.5442 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.4615, allocations: 46.05 kB / 0.5443 GB, free: 12.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.938e-06/0.4615, allocations: 0 / 0.5443 GB, free: 12.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01553/0.4771, allocations: 6.371 MB / 0.5505 GB, free: 6.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.4772, allocations: 141 kB / 0.5506 GB, free: 6.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004313/0.4815, allocations: 2.889 MB / 0.5534 GB, free: 3.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.4817, allocations: 41.64 kB / 0.5535 GB, free: 3.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.4827, allocations: 2.101 MB / 0.5555 GB, free: 1.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004398/0.4831, allocations: 457.8 kB / 0.556 GB, free: 1.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.4844, allocations: 0.8926 MB / 0.5568 GB, free: 276 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.4845, allocations: 305.1 kB / 0.5571 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/0.4869, allocations: 1.418 MB / 0.5585 GB, free: 14.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004917/0.4918, allocations: 4.287 MB / 0.5627 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007933/0.4998, allocations: 6.201 MB / 0.5688 GB, free: 1.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-05/0.4999, allocations: 28 kB / 0.5688 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01093/0.5109, allocations: 5.477 MB / 0.5741 GB, free: 11.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.511, allocations: 48 kB / 0.5742 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/0.5112, allocations: 104 kB / 0.5743 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.5114, allocations: 135.9 kB / 0.5744 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/0.5162, allocations: 1.229 MB / 0.5756 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002262/0.5164, allocations: 203.2 kB / 0.5758 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.5195, allocations: 236.1 kB / 0.576 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007964/0.5203, allocations: 281.6 kB / 0.5763 GB, free: 9.449 MB / 414.1 MB 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.002785/0.5231, allocations: 1.38 MB / 0.5776 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006971/0.5239, allocations: 236.9 kB / 0.5779 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.5263, allocations: 1.248 MB / 0.5791 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-05/0.5264, allocations: 21.52 kB / 0.5791 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.5264, allocations: 4 kB / 0.5791 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.5264, allocations: 3.984 kB / 0.5791 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009518/0.5359, allocations: 4.554 MB / 0.5836 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/0.536, allocations: 4 kB / 0.5836 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/0.5381, allocations: 371.8 kB / 0.5839 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.142e-05/0.5381, allocations: 8 kB / 0.5839 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.5382, allocations: 27.98 kB / 0.584 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/0.5383, allocations: 8 kB / 0.584 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.5383, allocations: 11.94 kB / 0.584 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.5414, allocations: 2.162 MB / 0.5861 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007415/0.5421, allocations: 309.8 kB / 0.5864 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/0.5426, allocations: 20.88 kB / 0.5864 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.5439, allocations: 59.92 kB / 0.5865 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.5441, allocations: 63.8 kB / 0.5865 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/0.5442, allocations: 39.94 kB / 0.5866 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003714/0.5479, allocations: 1.823 MB / 0.5883 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5479, allocations: 0 / 0.5883 GB, free: 12.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004101/0.552, allocations: 0.6146 MB / 0.5889 GB, free: 12.28 MB / 430.1 MB 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.004186/0.5562, allocations: 2.784 MB / 0.5917 GB, free: 9.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006211/0.5625, allocations: 3.469 MB / 0.595 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.5625, allocations: 384 / 0.595 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.5637, allocations: 0.7922 MB / 0.5958 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.5662, allocations: 275.6 kB / 0.5961 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0568/0.623, allocations: 32.32 MB / 0.6276 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00304/0.6261, allocations: 2.209 MB / 0.6298 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003829/0.6299, allocations: 1.456 MB / 0.6312 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/0.6321, allocations: 1.089 MB / 0.6323 GB, free: 10.46 MB / 478.1 MB Notification: Performance of SimCode: time 3.637e-06/0.6321, allocations: 0 / 0.6323 GB, free: 10.46 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08995/0.7221, allocations: 44.18 MB / 0.6754 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.224/9.946, allocations: 14.52 kB / 0.6754 GB, free: 14.43 MB / 0.5137 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)