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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 221.4 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 230.2 MB / 256.2 MB, free: 8.742 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1964/0.1964, allocations: 46.88 MB / 359.3 MB, free: 4.977 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.00209/0.00209, allocations: 91.8 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2666, allocations: 65.97 MB / 0.5584 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008575/0.2752, allocations: 7.543 MB / 0.5658 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005949/0.2811, allocations: 3.397 MB / 0.5691 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007249/0.2818, allocations: 31.94 kB / 0.5691 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.2834, allocations: 0.8209 MB / 0.5699 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.2859, allocations: 1.315 MB / 0.5712 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.287, allocations: 0.5378 MB / 0.5717 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002865/0.2898, allocations: 2.59 MB / 0.5742 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.2909, allocations: 1.018 MB / 0.5752 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000734/0.2916, allocations: 0.7667 MB / 0.576 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.293, allocations: 1.234 MB / 0.5772 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.2932, allocations: 140 kB / 0.5773 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.2945, allocations: 0.9633 MB / 0.5783 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008158/0.2953, allocations: 1.028 MB / 0.5793 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009427/0.2963, allocations: 1.215 MB / 0.5805 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.3, allocations: 4.038 MB / 0.5844 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3, allocations: 4 kB / 0.5844 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.3, allocations: 3.984 kB / 0.5844 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.767e-05/0.3, allocations: 0 / 0.5844 GB, free: 10.48 MB / 430.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.004444/0.3044, allocations: 3.03 MB / 0.5874 GB, free: 7.383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3045, allocations: 12.03 kB / 0.5874 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004714/0.3049, allocations: 454.5 kB / 0.5878 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005619/0.3106, allocations: 1.672 MB / 0.5894 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.3128, allocations: 1.547 MB / 0.5909 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.3129, allocations: 131.4 kB / 0.5911 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/0.3132, allocations: 171.7 kB / 0.5912 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00825/0.3215, allocations: 6.456 MB / 0.5975 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/0.3216, allocations: 35.69 kB / 0.5976 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.3218, allocations: 83.89 kB / 0.5977 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002349/0.3241, allocations: 1.441 MB / 0.5991 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009541/0.3337, allocations: 5.724 MB / 0.6047 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02816/0.3618, allocations: 26.77 MB / 0.6308 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.3658, allocations: 2.059 MB / 0.6328 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.367, allocations: 0.9604 MB / 0.6337 GB, free: 6.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.3672, allocations: 182.5 kB / 0.6339 GB, free: 6.055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3672, allocations: 42.83 kB / 0.634 GB, free: 6.004 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.3672, allocations: 0 / 0.634 GB, free: 6.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01453/0.3818, allocations: 6.502 MB / 0.6403 GB, free: 15.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.3819, allocations: 148.8 kB / 0.6405 GB, free: 15.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.3854, allocations: 2.894 MB / 0.6433 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/0.3855, allocations: 41.7 kB / 0.6433 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.387, allocations: 2.194 MB / 0.6455 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.3873, allocations: 472.5 kB / 0.6459 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.3884, allocations: 0.9012 MB / 0.6468 GB, free: 8.762 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3885, allocations: 305.1 kB / 0.6471 GB, free: 8.461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.3905, allocations: 1.414 MB / 0.6485 GB, free: 7.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004074/0.3945, allocations: 4.295 MB / 0.6527 GB, free: 1.293 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006653/0.4012, allocations: 6.186 MB / 0.6587 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-05/0.4012, allocations: 28 kB / 0.6587 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007876/0.4091, allocations: 5.501 MB / 0.6641 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/0.4092, allocations: 51.98 kB / 0.6641 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.121e-05/0.4093, allocations: 100 kB / 0.6642 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.4094, allocations: 140.1 kB / 0.6644 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/0.4131, allocations: 1.217 MB / 0.6656 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001496/0.4133, allocations: 207.2 kB / 0.6658 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.4155, allocations: 247.5 kB / 0.666 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/0.4158, allocations: 284 kB / 0.6663 GB, free: 1.914 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.001653/0.4175, allocations: 1.376 MB / 0.6676 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.4178, allocations: 254.3 kB / 0.6679 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.4197, allocations: 1.241 MB / 0.6691 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.4198, allocations: 15.94 kB / 0.6691 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4198, allocations: 0 / 0.6691 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.4198, allocations: 7.984 kB / 0.6691 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/0.4264, allocations: 4.551 MB / 0.6735 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4264, allocations: 7.938 kB / 0.6735 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/0.4282, allocations: 359.4 kB / 0.6739 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.4282, allocations: 11.98 kB / 0.6739 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/0.4282, allocations: 24 kB / 0.6739 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.4282, allocations: 11.94 kB / 0.6739 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/0.4282, allocations: 8 kB / 0.6739 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.4307, allocations: 2.182 MB / 0.6761 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.4311, allocations: 315.5 kB / 0.6764 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.4313, allocations: 24 kB / 0.6764 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008096/0.4321, allocations: 55.92 kB / 0.6764 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.4322, allocations: 71.73 kB / 0.6765 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/0.4323, allocations: 40 kB / 0.6766 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002249/0.4345, allocations: 1.815 MB / 0.6783 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4345, allocations: 0 / 0.6783 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002491/0.437, allocations: 0.617 MB / 0.6789 GB, free: 4.715 MB / 0.5137 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.002931/0.44, allocations: 2.795 MB / 0.6817 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0044/0.4444, allocations: 3.15 MB / 0.6847 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4444, allocations: 0 / 0.6847 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.4453, allocations: 0.7465 MB / 0.6855 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.4467, allocations: 276.1 kB / 0.6857 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/0.4811, allocations: 29.79 MB / 0.7148 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/0.4832, allocations: 2.213 MB / 0.717 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002786/0.486, allocations: 1.463 MB / 0.7184 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/0.4873, allocations: 1.073 MB / 0.7195 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.4873, allocations: 0 / 0.7195 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/0.7616, allocations: 41.75 MB / 0.7602 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.44, allocations: 3.703 kB / 0.7602 GB, free: 165.8 MB / 0.5762 GB " [Timeout remaining time 644] (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.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.963278109993553]