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.001477/0.001477, allocations: 106.5 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.002138/0.002138, allocations: 213.2 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.583/1.583, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2537/0.2537, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.002496/0.002496, allocations: 79.86 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4021, allocations: 66.07 MB / 0.5615 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.00379/0.4059, allocations: 1.947 MB / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.407, allocations: 0.5776 MB / 0.5639 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.4071, allocations: 4 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.4072, allocations: 19.73 kB / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.4073, allocations: 47.62 kB / 0.564 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.4076, allocations: 47.89 kB / 0.5641 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.4078, allocations: 147.3 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.408, allocations: 55.78 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.4082, allocations: 67.78 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.4083, allocations: 63.69 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.4083, allocations: 12 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.855e-05/0.4084, allocations: 16 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.4084, allocations: 27.86 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.897e-05/0.4085, allocations: 71.67 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.4088, allocations: 155.3 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4088, allocations: 3.984 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4088, allocations: 0 / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.4088, allocations: 0 / 0.5647 GB, free: 1.094 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.0006041/0.4094, allocations: 361.7 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4095, allocations: 8.031 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/0.4095, allocations: 54.67 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.4097, allocations: 24.84 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.41, allocations: 145.8 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.41, allocations: 12.36 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.41, allocations: 20.33 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.4103, allocations: 129.5 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4103, allocations: 0 / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.4103, allocations: 8 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4103, allocations: 0 / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.4106, allocations: 91.88 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.4114, allocations: 435.5 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.4116, allocations: 110.4 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4117, allocations: 56.83 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4118, allocations: 7.984 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.4118, allocations: 34.56 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.4118, allocations: 3.938 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001592/0.4134, allocations: 0.6596 MB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.4135, allocations: 55.41 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4136, allocations: 144 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.4136, allocations: 33.7 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.4137, allocations: 112.4 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.4138, allocations: 67.39 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.4138, allocations: 37.7 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.414, allocations: 326.8 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4141, allocations: 39.98 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.4143, allocations: 79.34 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.4145, allocations: 127.3 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4145, allocations: 4 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004327/0.4149, allocations: 210.2 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4149, allocations: 10.44 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.415, allocations: 4 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.4152, allocations: 36.84 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.4154, allocations: 39.91 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.4171, allocations: 1.641 MB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.4172, allocations: 8.031 kB / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.4172, allocations: 4 kB / 0.5696 GB, free: 11.62 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.0001487/0.4174, allocations: 130.7 kB / 0.5697 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.4174, allocations: 7.953 kB / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.4175, allocations: 25.11 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4175, allocations: 3.938 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4175, allocations: 8.062 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4175, allocations: 3.938 kB / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008593/0.4183, allocations: 0.5184 MB / 0.5703 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4183, allocations: 0 / 0.5703 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.4185, allocations: 31.98 kB / 0.5703 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.4186, allocations: 40.86 kB / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4187, allocations: 192 / 0.5704 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.42, allocations: 1.377 MB / 0.5717 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.42, allocations: 0 / 0.5717 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.4206, allocations: 343.2 kB / 0.572 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.4206, allocations: 27.94 kB / 0.5721 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.4206, allocations: 4 kB / 0.5721 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.4207, allocations: 4 kB / 0.5721 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.4208, allocations: 19.91 kB / 0.5721 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.4208, allocations: 4 kB / 0.5721 GB, free: 8.887 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.011e-05/0.4209, allocations: 107.2 kB / 0.5722 GB, free: 8.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4209, allocations: 0 / 0.5722 GB, free: 8.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.4212, allocations: 44 kB / 0.5722 GB, free: 8.738 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.000907/0.4221, allocations: 0.8844 MB / 0.5731 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.4227, allocations: 254.9 kB / 0.5733 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4227, allocations: 0 / 0.5733 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.423, allocations: 190.5 kB / 0.5735 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4234, allocations: 21.44 kB / 0.5735 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.4262, allocations: 2.058 MB / 0.5756 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.4266, allocations: 0.7166 MB / 0.5763 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.435e-05/0.4267, allocations: 21.41 kB / 0.5763 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.4268, allocations: 43.42 kB / 0.5763 GB, free: 4.367 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4268, allocations: 0 / 0.5763 GB, free: 4.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.4632, allocations: 3.554 MB / 0.5798 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.03, allocations: 14.2 kB / 0.5798 GB, free: 0.8906 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.093564428854734] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w'] 11.117335156071931 11.134006524 10.721551182 Calling exit ...