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.001706/0.001706, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00169/0.00169, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.517/1.517, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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.258/0.258, allocations: 46.93 MB / 361.6 MB, free: 4.297 MB / 286.1 MB " [Timeout remaining time 179] 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.002652/0.002652, allocations: 83.86 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.37, allocations: 66.07 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003519/0.3736, allocations: 1.943 MB / 0.5634 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3747, allocations: 0.5854 MB / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.153e-05/0.3748, allocations: 0 / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.3749, allocations: 23.73 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.375, allocations: 39.64 kB / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.3753, allocations: 47.88 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.3755, allocations: 151.3 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.3757, allocations: 55.78 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.3759, allocations: 51.86 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.376, allocations: 79.62 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.376, allocations: 12 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.3761, allocations: 16 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.3761, allocations: 31.84 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.74e-05/0.3762, allocations: 67.67 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.3765, allocations: 155.3 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3765, allocations: 0 / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3765, allocations: 0 / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3765, allocations: 0 / 0.5647 GB, free: 1.078 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.0005964/0.3771, allocations: 365.7 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3771, allocations: 8.031 kB / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.3772, allocations: 42.75 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.3773, allocations: 28.83 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.3776, allocations: 150.3 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3776, allocations: 8.375 kB / 0.5652 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.3776, allocations: 16.33 kB / 0.5652 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.3779, allocations: 141.5 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3779, allocations: 0 / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.378, allocations: 7.938 kB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.378, allocations: 4 kB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.3782, allocations: 83.94 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007394/0.3789, allocations: 431.5 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.3791, allocations: 114.4 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3793, allocations: 56.83 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3793, allocations: 3.906 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3793, allocations: 30.56 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3793, allocations: 0 / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001651/0.381, allocations: 0.6708 MB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.381, allocations: 55.41 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3812, allocations: 139.2 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3812, allocations: 29.7 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3814, allocations: 120.3 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/0.3814, allocations: 75.38 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.3815, allocations: 37.7 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3817, allocations: 322.8 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3818, allocations: 35.98 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.382, allocations: 83.34 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.3823, allocations: 131.3 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3823, allocations: 4 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004228/0.3827, allocations: 206.2 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.3827, allocations: 7.938 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3827, allocations: 0 / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.3829, allocations: 48.86 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.3831, allocations: 35.91 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.3851, allocations: 1.633 MB / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3852, allocations: 4.25 kB / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3852, allocations: 8 kB / 0.5696 GB, free: 11.61 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.0001746/0.3854, allocations: 126.8 kB / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.3855, allocations: 15.89 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.3855, allocations: 29.11 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3855, allocations: 7.875 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3855, allocations: 0 / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3855, allocations: 4 kB / 0.5698 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.3865, allocations: 0.5184 MB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3865, allocations: 0 / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.3867, allocations: 35.97 kB / 0.5703 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.3868, allocations: 32.89 kB / 0.5704 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3868, allocations: 3.984 kB / 0.5704 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.3882, allocations: 1.373 MB / 0.5717 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3882, allocations: 4.031 kB / 0.5717 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.3887, allocations: 347.6 kB / 0.572 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.3888, allocations: 11.94 kB / 0.5721 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.3888, allocations: 8 kB / 0.5721 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.3889, allocations: 3.984 kB / 0.5721 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.3889, allocations: 23.91 kB / 0.5721 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.389, allocations: 4 kB / 0.5721 GB, free: 8.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.389, allocations: 107.3 kB / 0.5722 GB, free: 8.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.389, allocations: 0 / 0.5722 GB, free: 8.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.3894, allocations: 44 kB / 0.5722 GB, free: 8.723 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.0009149/0.3903, allocations: 0.8806 MB / 0.5731 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.3909, allocations: 253.3 kB / 0.5733 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3909, allocations: 3.938 kB / 0.5733 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.3912, allocations: 186.7 kB / 0.5735 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3915, allocations: 27.98 kB / 0.5735 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.3943, allocations: 2.058 MB / 0.5756 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3947, allocations: 0.7206 MB / 0.5763 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.3948, allocations: 13.42 kB / 0.5763 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/0.3949, allocations: 43.42 kB / 0.5763 GB, free: 4.352 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3949, allocations: 0 / 0.5763 GB, free: 4.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.4285, allocations: 3.559 MB / 0.5798 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.23, allocations: 7.859 kB / 0.5798 GB, free: 0.875 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.384679990820587] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w'] 11.316033386159688 11.350907395 10.967468125 Calling exit ...