Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.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.001446/0.001446, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001638/0.001638, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.306/1.306, allocations: 230.2 MB / 256.2 MB, free: 8.574 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.1982/0.1982, allocations: 46.88 MB / 359.3 MB, free: 4.953 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.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",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.002113/0.002113, allocations: 83.86 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2581, allocations: 65.98 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003531/0.2616, allocations: 2.649 MB / 0.561 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2627, allocations: 0.7362 MB / 0.5617 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2628, allocations: 11.94 kB / 0.5617 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2629, allocations: 47.52 kB / 0.5618 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.2631, allocations: 87.2 kB / 0.5618 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.2634, allocations: 95.86 kB / 0.5619 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.2637, allocations: 338.5 kB / 0.5623 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.2638, allocations: 63.75 kB / 0.5623 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.2641, allocations: 143.5 kB / 0.5625 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.2642, allocations: 123.4 kB / 0.5626 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.2643, allocations: 28 kB / 0.5626 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.2643, allocations: 27.94 kB / 0.5626 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.2644, allocations: 55.83 kB / 0.5627 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2645, allocations: 147.2 kB / 0.5628 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.2648, allocations: 314.5 kB / 0.5631 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2648, allocations: 0 / 0.5631 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2648, allocations: 0 / 0.5631 GB, free: 340 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2648, allocations: 0 / 0.5631 GB, free: 340 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008615/0.2657, allocations: 0.5984 MB / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2657, allocations: 12.02 kB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.2658, allocations: 54.73 kB / 0.5638 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.266, allocations: 52.73 kB / 0.5638 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.2664, allocations: 283.8 kB / 0.5641 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2664, allocations: 16.94 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.2664, allocations: 32.33 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.2669, allocations: 282 kB / 0.5644 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.2669, allocations: 11.89 kB / 0.5644 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.2669, allocations: 11.94 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2669, allocations: 8 kB / 0.5644 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.2673, allocations: 183.8 kB / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.2689, allocations: 1.306 MB / 0.5659 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.2693, allocations: 238.4 kB / 0.5661 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.2695, allocations: 99.52 kB / 0.5662 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2695, allocations: 7.984 kB / 0.5662 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.2695, allocations: 38.56 kB / 0.5662 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.313e-06/0.2695, allocations: 0 / 0.5662 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002489/0.272, allocations: 1.579 MB / 0.5678 GB, free: 11.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.2721, allocations: 136.5 kB / 0.5679 GB, free: 10.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.2723, allocations: 221 kB / 0.5681 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.2723, allocations: 37.64 kB / 0.5682 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2724, allocations: 184.5 kB / 0.5683 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.2725, allocations: 130.9 kB / 0.5685 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/0.2726, allocations: 62.14 kB / 0.5685 GB, free: 10.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2728, allocations: 342.8 kB / 0.5689 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.273, allocations: 96.81 kB / 0.5689 GB, free: 9.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.2733, allocations: 241.4 kB / 0.5692 GB, free: 9.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.2739, allocations: 368.8 kB / 0.5695 GB, free: 9.094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2739, allocations: 4 kB / 0.5695 GB, free: 9.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000731/0.2747, allocations: 401.2 kB / 0.5699 GB, free: 8.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2747, allocations: 4 kB / 0.5699 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2747, allocations: 8 kB / 0.5699 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2747, allocations: 4 kB / 0.5699 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.2751, allocations: 108.2 kB / 0.57 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.2751, allocations: 11.98 kB / 0.57 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.2753, allocations: 19.98 kB / 0.5701 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.2753, allocations: 20 kB / 0.5701 GB, free: 8.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 initialization (48): * Single equations (assignments): 48 * Array equations: 0 * 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.0001369/0.2754, allocations: 153.6 kB / 0.5702 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/0.2755, allocations: 31.81 kB / 0.5703 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.2756, allocations: 33.7 kB / 0.5703 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2756, allocations: 4 kB / 0.5703 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2756, allocations: 8 kB / 0.5703 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2756, allocations: 3.984 kB / 0.5703 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.277, allocations: 0.978 MB / 0.5713 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.277, allocations: 4.531 kB / 0.5713 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.2774, allocations: 83.81 kB / 0.5713 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2774, allocations: 4 kB / 0.5713 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.2774, allocations: 15.94 kB / 0.5714 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2774, allocations: 4 kB / 0.5714 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2774, allocations: 0 / 0.5714 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.2783, allocations: 0.729 MB / 0.5721 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.2784, allocations: 105 kB / 0.5722 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.2785, allocations: 15.88 kB / 0.5722 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.2787, allocations: 23.97 kB / 0.5722 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.2788, allocations: 23.97 kB / 0.5722 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2788, allocations: 8 kB / 0.5722 GB, free: 6.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.2789, allocations: 164.5 kB / 0.5724 GB, free: 6.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2789, allocations: 0 / 0.5724 GB, free: 6.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.2794, allocations: 64 kB / 0.5725 GB, free: 5.953 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * 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.001253/0.2806, allocations: 1.275 MB / 0.5737 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006042/0.2812, allocations: 269.1 kB / 0.574 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2812, allocations: 0 / 0.574 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.2815, allocations: 123.9 kB / 0.5741 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.2821, allocations: 47.27 kB / 0.5741 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.2864, allocations: 3.524 MB / 0.5776 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.2868, allocations: 0.768 MB / 0.5783 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.2869, allocations: 34.95 kB / 0.5784 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.2871, allocations: 107.4 kB / 0.5785 GB, free: 15.54 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2871, allocations: 0 / 0.5785 GB, free: 15.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.3159, allocations: 5.384 MB / 0.5837 GB, free: 10.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.721, allocations: 15.88 kB / 0.5837 GB, free: 10.22 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.233020168991061]