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.00168/0.00168, allocations: 122.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.001982/0.001982, allocations: 202 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.529/1.529, allocations: 227.4 MB / 247 MB, free: 10.47 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.2309/0.2309, allocations: 46.11 MB / 344.3 MB, free: 11.48 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.002426/0.002426, allocations: 79.86 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3336, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01089/0.3446, allocations: 7.481 MB / 0.5379 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008006/0.3526, allocations: 3.353 MB / 0.5412 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.354, allocations: 32.41 kB / 0.5412 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.3562, allocations: 0.8054 MB / 0.542 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003977/0.3602, allocations: 1.291 MB / 0.5432 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.3618, allocations: 0.5259 MB / 0.5437 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004491/0.3663, allocations: 2.601 MB / 0.5463 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.3686, allocations: 1.221 MB / 0.5475 GB, free: 412 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.3701, allocations: 0.7666 MB / 0.5482 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.3721, allocations: 1.133 MB / 0.5493 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000548/0.3727, allocations: 140 kB / 0.5495 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.3749, allocations: 0.9165 MB / 0.5504 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.3762, allocations: 1.005 MB / 0.5513 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.3784, allocations: 1.207 MB / 0.5525 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005846/0.3843, allocations: 4.053 MB / 0.5565 GB, free: 7.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3843, allocations: 0 / 0.5565 GB, free: 7.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3843, allocations: 0 / 0.5565 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.804e-05/0.3844, allocations: 4 kB / 0.5565 GB, free: 7.148 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.00574/0.3901, allocations: 3.026 MB / 0.5594 GB, free: 4.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3902, allocations: 12.03 kB / 0.5594 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005358/0.3908, allocations: 462.5 kB / 0.5599 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006094/0.3969, allocations: 1.672 MB / 0.5615 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/0.4, allocations: 1.551 MB / 0.563 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.4001, allocations: 127.4 kB / 0.5632 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.4005, allocations: 163.8 kB / 0.5633 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.411, allocations: 6.46 MB / 0.5696 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/0.4111, allocations: 31.75 kB / 0.5697 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.4114, allocations: 87.83 kB / 0.5697 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002628/0.414, allocations: 1.433 MB / 0.5711 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.4254, allocations: 5.736 MB / 0.5767 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03623/0.4617, allocations: 26.77 MB / 0.6029 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004881/0.4666, allocations: 2.149 MB / 0.605 GB, free: 3.832 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.4682, allocations: 1.039 MB / 0.606 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.4685, allocations: 174.5 kB / 0.6062 GB, free: 2.574 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.4686, allocations: 46.89 kB / 0.6062 GB, free: 2.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.687e-06/0.4686, allocations: 0 / 0.6062 GB, free: 2.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01764/0.4862, allocations: 6.498 MB / 0.6125 GB, free: 12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.4864, allocations: 140.9 kB / 0.6127 GB, free: 11.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005015/0.4914, allocations: 2.898 MB / 0.6155 GB, free: 8.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003366/0.4918, allocations: 37.7 kB / 0.6155 GB, free: 8.883 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00254/0.4944, allocations: 2.202 MB / 0.6177 GB, free: 6.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009114/0.4953, allocations: 480.5 kB / 0.6182 GB, free: 6.188 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001446/0.4968, allocations: 0.8934 MB / 0.619 GB, free: 5.281 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.497, allocations: 305.1 kB / 0.6193 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/0.4995, allocations: 1.418 MB / 0.6207 GB, free: 3.555 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005399/0.5049, allocations: 4.283 MB / 0.6249 GB, free: 13.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008641/0.5136, allocations: 6.189 MB / 0.6309 GB, free: 6.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.045e-05/0.5137, allocations: 32 kB / 0.631 GB, free: 6.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01109/0.5248, allocations: 5.498 MB / 0.6363 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.525, allocations: 52 kB / 0.6364 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001743/0.5251, allocations: 104.1 kB / 0.6365 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.5254, allocations: 140 kB / 0.6366 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004776/0.5301, allocations: 1.224 MB / 0.6378 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002446/0.5304, allocations: 199.2 kB / 0.638 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/0.5342, allocations: 243.6 kB / 0.6382 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/0.535, allocations: 287.9 kB / 0.6385 GB, free: 14.43 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.00316/0.5382, allocations: 1.384 MB / 0.6399 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006759/0.5389, allocations: 250.3 kB / 0.6401 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.5416, allocations: 1.241 MB / 0.6413 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/0.5416, allocations: 19.94 kB / 0.6413 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.5416, allocations: 0 / 0.6413 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.5416, allocations: 3.984 kB / 0.6413 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009917/0.5516, allocations: 4.551 MB / 0.6458 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/0.5516, allocations: 11.94 kB / 0.6458 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/0.5536, allocations: 359.4 kB / 0.6461 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.012e-05/0.5537, allocations: 8.531 kB / 0.6461 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.5538, allocations: 28 kB / 0.6462 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.5538, allocations: 15.92 kB / 0.6462 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.5538, allocations: 4 kB / 0.6462 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.5573, allocations: 2.182 MB / 0.6483 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009878/0.5583, allocations: 311.3 kB / 0.6486 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006149/0.5589, allocations: 23.98 kB / 0.6486 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.5602, allocations: 55.92 kB / 0.6487 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.5604, allocations: 67.81 kB / 0.6488 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5605, allocations: 35.98 kB / 0.6488 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004184/0.5647, allocations: 1.819 MB / 0.6506 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5647, allocations: 0 / 0.6506 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005555/0.5703, allocations: 0.6209 MB / 0.6512 GB, free: 1.227 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.004753/0.5751, allocations: 2.791 MB / 0.6539 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006676/0.5818, allocations: 3.275 MB / 0.6571 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.5818, allocations: 0 / 0.6571 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.5831, allocations: 0.7968 MB / 0.6579 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.5857, allocations: 280 kB / 0.6581 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05444/0.6401, allocations: 29.8 MB / 0.6872 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/0.6437, allocations: 2.206 MB / 0.6894 GB, free: 5.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003983/0.6477, allocations: 1.463 MB / 0.6908 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002416/0.6502, allocations: 1.077 MB / 0.6919 GB, free: 3.434 MB / 0.545 GB Notification: Performance of SimCode: time 1.934e-06/0.6502, allocations: 0 / 0.6919 GB, free: 3.434 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3695/1.02, allocations: 41.24 MB / 0.7321 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18, allocations: 6.078 kB / 0.7321 GB, free: 181.4 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1)