Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.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.001688/0.001688, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002218/0.002218, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.508/1.508, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2472/0.2472, allocations: 46.92 MB / 361.6 MB, free: 4.188 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.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",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.002353/0.002353, allocations: 79.88 kB / 0.497 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4161, allocations: 66.09 MB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.004219/0.4204, allocations: 1.733 MB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.4222, allocations: 1.053 MB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.4223, allocations: 0 / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.4227, allocations: 51.75 kB / 0.5643 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.4231, allocations: 95.55 kB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.4234, allocations: 75.73 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.4236, allocations: 103.7 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.4238, allocations: 17.89 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.4239, allocations: 47.78 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.424, allocations: 27.86 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.424, allocations: 4 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.4242, allocations: 47.91 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.4242, allocations: 19.92 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.4243, allocations: 39.67 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.4246, allocations: 123.5 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.4246, allocations: 0 / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4246, allocations: 0 / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.4246, allocations: 0 / 0.5649 GB, free: 0.8125 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006239/0.4252, allocations: 353.5 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4253, allocations: 12.03 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.4253, allocations: 34.69 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.4253, allocations: 12.83 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.4257, allocations: 166.3 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4257, allocations: 4.375 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.4257, allocations: 4.359 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4259, allocations: 65.8 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4259, allocations: 0 / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4259, allocations: 0 / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4259, allocations: 0 / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.426, allocations: 27.92 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.4264, allocations: 255.9 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.4266, allocations: 62.67 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.4266, allocations: 12.86 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.4267, allocations: 4 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.4268, allocations: 67.33 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4268, allocations: 0 / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005822/0.4274, allocations: 197.2 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4274, allocations: 55.41 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.4277, allocations: 218.2 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.4277, allocations: 25.7 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.4278, allocations: 108.1 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.4278, allocations: 23.8 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.4278, allocations: 25.7 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.428, allocations: 330.8 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.4281, allocations: 16 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.4281, allocations: 37.7 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.4282, allocations: 61.64 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4282, allocations: 0 / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.4284, allocations: 105.6 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4285, allocations: 7.984 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.4285, allocations: 4 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4285, allocations: 0 / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.4286, allocations: 19.97 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.4286, allocations: 0 / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.4286, allocations: 4 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4286, allocations: 11.92 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001239/0.4287, allocations: 126.7 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.4288, allocations: 15.91 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.429, allocations: 111 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.429, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.429, allocations: 4 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.429, allocations: 0 / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.4295, allocations: 378.3 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4295, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.4296, allocations: 8 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4296, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4296, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4296, allocations: 8.312 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4296, allocations: 32 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.4298, allocations: 212.5 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.4299, allocations: 7.953 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.4299, allocations: 4 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.43, allocations: 8.125 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.43, allocations: 11.98 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.43, allocations: 7.938 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.4302, allocations: 156.3 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4302, allocations: 0 / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.4304, allocations: 27.92 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002156/0.4326, allocations: 1.093 MB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.4328, allocations: 55.91 kB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4328, allocations: 0 / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.239e-05/0.4328, allocations: 28 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.4332, allocations: 34.72 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.4351, allocations: 1.682 MB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.4354, allocations: 0.708 MB / 0.5717 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.4355, allocations: 24.88 kB / 0.5717 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.4356, allocations: 39.42 kB / 0.5718 GB, free: 9.52 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.4356, allocations: 0 / 0.5718 GB, free: 9.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.4626, allocations: 3.595 MB / 0.5753 GB, free: 5.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.228, allocations: 6.406 kB / 0.5753 GB, free: 5.934 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.298825846984982] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.371285717003047 8.386966718 7.959260807 Calling exit ...