Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.001874/0.001874, allocations: 105.1 kB / 21.23 MB, free: 0.5039 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.002289/0.002289, allocations: 209.7 kB / 24.54 MB, free: 3.863 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.549/1.549, 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.2399/0.2399, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",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.002319/0.002319, allocations: 79.86 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4136, allocations: 66.09 MB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003366/0.417, allocations: 1.745 MB / 0.5633 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.4188, allocations: 1.053 MB / 0.5643 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.4189, allocations: 0 / 0.5643 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.4192, allocations: 47.75 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.4195, allocations: 95.53 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.4196, allocations: 79.73 kB / 0.5645 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.4198, allocations: 111.6 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.622e-05/0.4199, allocations: 9.953 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.42, allocations: 43.8 kB / 0.5647 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.4201, allocations: 31.84 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.4201, allocations: 4 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.4202, allocations: 43.92 kB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.4202, allocations: 19.92 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.4203, allocations: 47.66 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.4205, allocations: 119.5 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4205, allocations: 0 / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4205, allocations: 4 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.4205, allocations: 0 / 0.5649 GB, free: 0.8477 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.0005774/0.4211, allocations: 349.5 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4211, allocations: 8.031 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.4212, allocations: 46.62 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.4212, allocations: 12.88 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.4215, allocations: 158.3 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.4215, allocations: 4.375 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.4215, allocations: 8.375 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.4217, allocations: 57.8 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4217, allocations: 0 / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.4217, allocations: 0 / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4217, allocations: 4 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.4218, allocations: 19.92 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.4222, allocations: 263.9 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.4223, allocations: 58.67 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.4224, allocations: 16.86 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.4224, allocations: 7.984 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.4226, allocations: 67.33 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4226, allocations: 0 / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005589/0.4232, allocations: 181.3 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.4232, allocations: 59.39 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.4234, allocations: 210.2 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.4234, allocations: 33.7 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.4235, allocations: 104.1 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.4236, allocations: 27.7 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.4236, allocations: 29.7 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4238, allocations: 326.8 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.4238, allocations: 23.98 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.4239, allocations: 33.72 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.424, allocations: 57.64 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.424, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.4242, allocations: 105.6 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4242, allocations: 6.344 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4242, allocations: 4.031 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4242, allocations: 3.984 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.4243, allocations: 19.94 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4243, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.4244, allocations: 11.92 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4244, allocations: 4 kB / 0.5672 GB, free: 14.36 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.0001133/0.4245, allocations: 126.7 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.4245, allocations: 15.89 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.4248, allocations: 119 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4248, allocations: 0 / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4248, allocations: 3.984 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4248, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.4253, allocations: 370.6 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4253, allocations: 0 / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.4253, allocations: 8 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4253, allocations: 4 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4253, allocations: 8.203 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4253, allocations: 3.938 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4253, allocations: 3.938 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.4256, allocations: 212.2 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.4256, allocations: 7.953 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.4256, allocations: 4 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.4257, allocations: 4.312 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.4257, allocations: 11.98 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4257, allocations: 8 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.4259, allocations: 160.3 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4259, allocations: 0 / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.4261, allocations: 27.92 kB / 0.5682 GB, free: 13.2 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.002103/0.4282, allocations: 1.077 MB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.4284, allocations: 59.91 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4284, allocations: 0 / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/0.4285, allocations: 31.91 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.4288, allocations: 23.98 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.4308, allocations: 1.686 MB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4312, allocations: 0.7158 MB / 0.5717 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.4312, allocations: 12.59 kB / 0.5717 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.4313, allocations: 39.42 kB / 0.5718 GB, free: 9.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4313, allocations: 0 / 0.5718 GB, free: 9.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.4606, allocations: 3.6 MB / 0.5753 GB, free: 5.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.309, allocations: 0 / 0.5753 GB, free: 5.984 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.325288122985512] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.448387248907238 8.464393101 8.04079349 Calling exit ...