Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001567/0.001567, allocations: 105.7 kB / 20.42 MB, free: 1.684 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.00192/0.00192, allocations: 217.6 kB / 23.72 MB, free: 5.051 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.516/1.516, allocations: 230.2 MB / 257.1 MB, free: 8.473 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.2354/0.2354, allocations: 46.89 MB / 360.3 MB, free: 4.656 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",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.002308/0.002308, allocations: 75.88 kB / 0.4956 GB, free: 8.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3677, allocations: 66 MB / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003203/0.3709, allocations: 1.706 MB / 0.5617 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.372, allocations: 0.5928 MB / 0.5623 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.3721, allocations: 0 / 0.5623 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.3727, allocations: 463.1 kB / 0.5627 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.3732, allocations: 299.2 kB / 0.563 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.3737, allocations: 175.2 kB / 0.5631 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.374, allocations: 187.6 kB / 0.5633 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3741, allocations: 18.05 kB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.3742, allocations: 111.7 kB / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.3746, allocations: 259.5 kB / 0.5637 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3746, allocations: 4 kB / 0.5637 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3747, allocations: 47.98 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.3748, allocations: 91.61 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.375, allocations: 114.9 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.3754, allocations: 290.5 kB / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3754, allocations: 0 / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3754, allocations: 0 / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3754, allocations: 0 / 0.5642 GB, free: 0.5938 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009264/0.3763, allocations: 0.6763 MB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3763, allocations: 12.02 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.3764, allocations: 30.75 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.3765, allocations: 44.66 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.3768, allocations: 316.5 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3768, allocations: 4.375 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.3768, allocations: 12.31 kB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.377, allocations: 62.23 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3771, allocations: 7.938 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3771, allocations: 0 / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3771, allocations: 0 / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3772, allocations: 47.89 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.3779, allocations: 424.6 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.3781, allocations: 62.58 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.3782, allocations: 24.97 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3782, allocations: 0 / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3783, allocations: 38.56 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.3783, allocations: 0 / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001652/0.3799, allocations: 0.4967 MB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.38, allocations: 51.41 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/0.3809, allocations: 0.8815 MB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3809, allocations: 29.7 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.3811, allocations: 216.1 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.3812, allocations: 31.7 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.3813, allocations: 33.64 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.3815, allocations: 366.8 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3816, allocations: 51.91 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3818, allocations: 55.95 kB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.3821, allocations: 128.7 kB / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3821, allocations: 0 / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004112/0.3825, allocations: 201.6 kB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3825, allocations: 8 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3825, allocations: 0 / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3826, allocations: 0 / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3827, allocations: 27.92 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3827, allocations: 3.938 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.3828, allocations: 15.98 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3828, allocations: 4 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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.0002326/0.383, allocations: 217.8 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.3831, allocations: 47.67 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.3836, allocations: 241.4 kB / 0.5689 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3836, allocations: 7.984 kB / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3836, allocations: 3.938 kB / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3836, allocations: 0 / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.3846, allocations: 0.5977 MB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3846, allocations: 3.938 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.3847, allocations: 31.91 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3847, allocations: 192 / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3847, allocations: 8 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3847, allocations: 0 / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3847, allocations: 4.062 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.3852, allocations: 308.7 kB / 0.5699 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3853, allocations: 124.8 kB / 0.57 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.3853, allocations: 4 kB / 0.57 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.3855, allocations: 11.98 kB / 0.57 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.3855, allocations: 8 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.3855, allocations: 4 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007077/0.3862, allocations: 0.6589 MB / 0.5706 GB, free: 9.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3862, allocations: 96 / 0.5706 GB, free: 9.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.3865, allocations: 39.86 kB / 0.5707 GB, free: 9.605 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002408/0.3889, allocations: 1.195 MB / 0.5719 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.3893, allocations: 123.8 kB / 0.572 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3893, allocations: 4 kB / 0.572 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3895, allocations: 63.91 kB / 0.572 GB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.39, allocations: 30.3 kB / 0.5721 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.3951, allocations: 3.568 MB / 0.5755 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.3957, allocations: 0.8338 MB / 0.5764 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.3958, allocations: 32.52 kB / 0.5764 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.396, allocations: 127.4 kB / 0.5765 GB, free: 3.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.396, allocations: 0 / 0.5765 GB, free: 3.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4294, allocations: 6.734 MB / 0.5831 GB, free: 12.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.654/9.083, allocations: 7.984 kB / 0.5831 GB, free: 12.9 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.09844613680616] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 9.21215652115643 9.236614206 8.856729397 Calling exit ...