Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.001166/0.001166, allocations: 105.8 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.001271/0.001271, allocations: 219.7 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.283/1.283, allocations: 230.2 MB / 256.2 MB, free: 8.727 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.2/0.2, allocations: 46.88 MB / 359.3 MB, free: 4.957 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.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",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.002091/0.002091, allocations: 83.84 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2513, allocations: 65.97 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.002778/0.2541, allocations: 1.944 MB / 0.5603 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.2549, allocations: 0.562 MB / 0.5608 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.284e-05/0.255, allocations: 7.938 kB / 0.5608 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.2551, allocations: 27.72 kB / 0.5609 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.2552, allocations: 39.64 kB / 0.5609 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.2553, allocations: 51.88 kB / 0.561 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.2555, allocations: 155.2 kB / 0.5611 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2557, allocations: 58.83 kB / 0.5612 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2558, allocations: 55.86 kB / 0.5612 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.2559, allocations: 63.64 kB / 0.5613 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.2559, allocations: 12 kB / 0.5613 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.256, allocations: 19.98 kB / 0.5613 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.256, allocations: 35.84 kB / 0.5613 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.256, allocations: 63.67 kB / 0.5614 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2562, allocations: 159.3 kB / 0.5616 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2563, allocations: 0 / 0.5616 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2563, allocations: 0 / 0.5616 GB, free: 1.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2563, allocations: 4 kB / 0.5616 GB, free: 1.922 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005143/0.2568, allocations: 438.8 kB / 0.562 GB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.2568, allocations: 8.031 kB / 0.562 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.2569, allocations: 42.75 kB / 0.562 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.257, allocations: 28.83 kB / 0.5621 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2572, allocations: 208.1 kB / 0.5623 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2572, allocations: 12.38 kB / 0.5623 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.2572, allocations: 20.33 kB / 0.5623 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.2575, allocations: 129.5 kB / 0.5624 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2575, allocations: 0 / 0.5624 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2575, allocations: 4 kB / 0.5624 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2575, allocations: 4 kB / 0.5624 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.2577, allocations: 83.94 kB / 0.5625 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.2583, allocations: 464.4 kB / 0.5629 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2585, allocations: 118.4 kB / 0.5631 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.2586, allocations: 52.78 kB / 0.5631 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.2586, allocations: 4 kB / 0.5631 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2587, allocations: 34.55 kB / 0.5631 GB, free: 136 kB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.123e-06/0.2587, allocations: 4 kB / 0.5631 GB, free: 132 kB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001373/0.26, allocations: 0.812 MB / 0.5639 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2601, allocations: 55.41 kB / 0.564 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2602, allocations: 145.6 kB / 0.5641 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.2602, allocations: 29.7 kB / 0.5642 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.2603, allocations: 112.4 kB / 0.5643 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.2603, allocations: 75.36 kB / 0.5643 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.2604, allocations: 33.72 kB / 0.5644 GB, free: 14.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2605, allocations: 326.8 kB / 0.5647 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.2606, allocations: 39.98 kB / 0.5647 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.2607, allocations: 83.34 kB / 0.5648 GB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.2609, allocations: 131.3 kB / 0.5649 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2609, allocations: 4 kB / 0.5649 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003645/0.2613, allocations: 210.2 kB / 0.5651 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2613, allocations: 8 kB / 0.5651 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2613, allocations: 0 / 0.5651 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.2614, allocations: 44.89 kB / 0.5652 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.2616, allocations: 35.92 kB / 0.5652 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.263, allocations: 1.732 MB / 0.5669 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.2631, allocations: 8.031 kB / 0.5669 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.2631, allocations: 4 kB / 0.5669 GB, free: 11.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.2632, allocations: 133.8 kB / 0.567 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.2632, allocations: 7.953 kB / 0.567 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.2632, allocations: 29.11 kB / 0.5671 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2632, allocations: 0 / 0.5671 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2633, allocations: 4 kB / 0.5671 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2633, allocations: 0 / 0.5671 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007214/0.264, allocations: 0.5567 MB / 0.5676 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.264, allocations: 192 / 0.5676 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2641, allocations: 35.98 kB / 0.5677 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-05/0.2642, allocations: 36.83 kB / 0.5677 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2642, allocations: 4 kB / 0.5677 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.2653, allocations: 1.482 MB / 0.5691 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2653, allocations: 0 / 0.5691 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.2658, allocations: 346.2 kB / 0.5695 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.2658, allocations: 89.05 kB / 0.5696 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2659, allocations: 8 kB / 0.5696 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.266, allocations: 7.875 kB / 0.5696 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.266, allocations: 20.05 kB / 0.5696 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.266, allocations: 7.984 kB / 0.5696 GB, free: 8.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.118e-05/0.2661, allocations: 106.7 kB / 0.5697 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2661, allocations: 0 / 0.5697 GB, free: 8.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.2664, allocations: 47.94 kB / 0.5697 GB, free: 8.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007202/0.2671, allocations: 0.8702 MB / 0.5706 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.2675, allocations: 250.8 kB / 0.5708 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2675, allocations: 4 kB / 0.5708 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.2678, allocations: 190.7 kB / 0.571 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2681, allocations: 20.31 kB / 0.571 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.2703, allocations: 2.076 MB / 0.5731 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.2706, allocations: 0.7204 MB / 0.5738 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.375e-05/0.2707, allocations: 13.42 kB / 0.5738 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.2707, allocations: 39.42 kB / 0.5738 GB, free: 4.426 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2707, allocations: 0 / 0.5738 GB, free: 4.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.3003, allocations: 3.452 MB / 0.5772 GB, free: 1.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.732/9.032, allocations: 4.062 kB / 0.5772 GB, free: 1.059 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_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_ForUsersGuide_SimpleDriveTrain.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.50114941400534]