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.001502/0.001503, 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.001391/0.001391, 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.514/1.514, 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.2346/0.2346, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002284/0.002284, allocations: 86.73 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1217, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009244/0.131, allocations: 7.456 MB / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.1372, allocations: 3.356 MB / 491 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006193/0.1379, allocations: 35.88 kB / 491 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.1396, allocations: 0.7937 MB / 491.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.1424, allocations: 1.299 MB / 493.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1435, allocations: 0.5261 MB / 493.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.1466, allocations: 2.585 MB / 496.3 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.1481, allocations: 1.249 MB / 497.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009253/0.149, allocations: 0.7627 MB / 498.3 MB, free: 3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.1504, allocations: 1.121 MB / 499.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.1507, allocations: 136 kB / 499.5 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.1523, allocations: 0.9321 MB / 0.4887 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009281/0.1532, allocations: 1.013 MB / 0.4897 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.1544, allocations: 1.211 MB / 0.4909 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003978/0.1583, allocations: 3.843 MB / 0.4946 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1584, allocations: 0 / 0.4946 GB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1584, allocations: 0 / 0.4946 GB, free: 10.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.595e-05/0.1584, allocations: 0 / 0.4946 GB, free: 10.72 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.005165/0.1636, allocations: 2.945 MB / 0.4975 GB, free: 7.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1636, allocations: 12.03 kB / 0.4975 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000549/0.1642, allocations: 458.5 kB / 0.498 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00622/0.1704, allocations: 1.662 MB / 0.4996 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.1734, allocations: 1.531 MB / 0.5011 GB, free: 4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.1735, allocations: 127.3 kB / 0.5012 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.1739, allocations: 159.8 kB / 0.5014 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2322/0.4061, allocations: 6.456 MB / 0.5077 GB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.134e-05/0.4063, allocations: 36.91 kB / 0.5077 GB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.4065, allocations: 80.3 kB / 0.5078 GB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002895/0.4094, allocations: 1.433 MB / 0.5092 GB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.4209, allocations: 5.736 MB / 0.5148 GB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0319/0.4528, allocations: 26.79 MB / 0.5409 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.4568, allocations: 2.142 MB / 0.543 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.4579, allocations: 1.046 MB / 0.5441 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.458, allocations: 176.8 kB / 0.5442 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.4581, allocations: 42.53 kB / 0.5443 GB, free: 12.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 4.689e-06/0.4581, allocations: 0 / 0.5443 GB, free: 12.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01476/0.4728, allocations: 6.366 MB / 0.5505 GB, free: 6.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.4729, allocations: 144.9 kB / 0.5506 GB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/0.477, allocations: 2.889 MB / 0.5534 GB, free: 3.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.4772, allocations: 41.7 kB / 0.5535 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.4783, allocations: 2.102 MB / 0.5555 GB, free: 1.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004196/0.4788, allocations: 450.4 kB / 0.556 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008785/0.4797, allocations: 0.9004 MB / 0.5568 GB, free: 216 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4798, allocations: 301.1 kB / 0.5571 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.482, allocations: 1.414 MB / 0.5585 GB, free: 14.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004548/0.4865, allocations: 4.295 MB / 0.5627 GB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007651/0.4942, allocations: 6.2 MB / 0.5688 GB, free: 1.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.117e-05/0.4943, allocations: 28 kB / 0.5688 GB, free: 1.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01041/0.5047, allocations: 5.48 MB / 0.5741 GB, free: 11.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.049e-05/0.5048, allocations: 50.03 kB / 0.5742 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/0.505, allocations: 100 kB / 0.5743 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.5051, allocations: 139.9 kB / 0.5744 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004606/0.5098, allocations: 1.225 MB / 0.5756 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002265/0.51, allocations: 199.2 kB / 0.5758 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/0.5136, allocations: 240.1 kB / 0.576 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007597/0.5144, allocations: 284 kB / 0.5763 GB, free: 9.387 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.002898/0.5173, allocations: 1.387 MB / 0.5777 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007213/0.518, allocations: 236.9 kB / 0.5779 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.5207, allocations: 1.237 MB / 0.5791 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.451e-05/0.5208, allocations: 16.44 kB / 0.5791 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.5208, allocations: 3.984 kB / 0.5791 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.5208, allocations: 7.984 kB / 0.5791 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008464/0.5293, allocations: 4.553 MB / 0.5836 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.5293, allocations: 8 kB / 0.5836 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/0.5312, allocations: 367.9 kB / 0.5839 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.5313, allocations: 8 kB / 0.5839 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/0.5314, allocations: 26.06 kB / 0.584 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.5314, allocations: 11.94 kB / 0.584 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5314, allocations: 4 kB / 0.584 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.5343, allocations: 2.169 MB / 0.5861 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006169/0.5349, allocations: 309.8 kB / 0.5864 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.5351, allocations: 24 kB / 0.5864 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/0.536, allocations: 51.92 kB / 0.5865 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.5362, allocations: 67.8 kB / 0.5865 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.5363, allocations: 36 kB / 0.5866 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002835/0.5392, allocations: 1.827 MB / 0.5883 GB, free: 12.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.5392, allocations: 0 / 0.5883 GB, free: 12.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00337/0.5425, allocations: 0.6105 MB / 0.5889 GB, free: 12.22 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.003364/0.5459, allocations: 2.788 MB / 0.5917 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005971/0.5519, allocations: 3.462 MB / 0.595 GB, free: 5.934 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.5519, allocations: 8.062 kB / 0.595 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.5531, allocations: 0.8006 MB / 0.5958 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.555, allocations: 281.7 kB / 0.5961 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05087/0.6058, allocations: 32.31 MB / 0.6277 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/0.6092, allocations: 2.206 MB / 0.6298 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003988/0.6132, allocations: 1.455 MB / 0.6312 GB, free: 11.49 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/0.6156, allocations: 1.077 MB / 0.6323 GB, free: 10.41 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6156, allocations: 0 / 0.6323 GB, free: 10.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09225/0.7079, allocations: 44.18 MB / 0.6754 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.217/9.925, allocations: 10.61 kB / 0.6754 GB, free: 14.37 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 & 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)