Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001946/0.001946, 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.002454/0.002454, allocations: 212 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.47/1.47, 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.2442/0.2442, 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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",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.003679/0.003679, allocations: 83.84 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4136, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004122/0.4177, allocations: 2.074 MB / 0.5635 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.42, allocations: 1.142 MB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.4201, allocations: 7.938 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.4207, allocations: 271.1 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006141/0.4213, allocations: 255.1 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.423, allocations: 0.6641 MB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.4236, allocations: 362.8 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.4238, allocations: 52.89 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.424, allocations: 155.4 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.4243, allocations: 239.1 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.4243, allocations: 12 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.4246, allocations: 99.97 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.4248, allocations: 107.6 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.4249, allocations: 134.8 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.4255, allocations: 374.1 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4255, allocations: 0 / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4255, allocations: 0 / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4255, allocations: 0 / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009779/0.4264, allocations: 0.6437 MB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4265, allocations: 12.03 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.4266, allocations: 38.75 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.4267, allocations: 48.66 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.4272, allocations: 280.6 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.4272, allocations: 4.375 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.4272, allocations: 12.38 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.4275, allocations: 131 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.4275, allocations: 7.891 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4276, allocations: 4 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4276, allocations: 4 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.4278, allocations: 95.88 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.4286, allocations: 0.4955 MB / 0.569 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.4289, allocations: 102.5 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.4289, allocations: 40.83 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.429, allocations: 4 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.429, allocations: 34.56 kB / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.429, allocations: 224 / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00117/0.4302, allocations: 462.6 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.4302, allocations: 55.34 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.431, allocations: 0.6034 MB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.4311, allocations: 37.64 kB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.4313, allocations: 216.4 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.4313, allocations: 63.42 kB / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.4314, allocations: 41.7 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4316, allocations: 350.8 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.4317, allocations: 67.95 kB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.4319, allocations: 67.95 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.4322, allocations: 162.8 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4322, allocations: 0 / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004264/0.4326, allocations: 233.1 kB / 0.5714 GB, free: 9.926 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4326, allocations: 4 kB / 0.5714 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4326, allocations: 0 / 0.5714 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.4327, allocations: 4 kB / 0.5715 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.4328, allocations: 39.91 kB / 0.5715 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4328, allocations: 8 kB / 0.5715 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.4329, allocations: 4 kB / 0.5715 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.4329, allocations: 7.984 kB / 0.5715 GB, free: 9.859 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 (17): * Single equations (assignments): 17 * 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.0001995/0.4331, allocations: 173.8 kB / 0.5717 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.4332, allocations: 55.59 kB / 0.5717 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.4338, allocations: 287.7 kB / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4338, allocations: 0 / 0.572 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4338, allocations: 4 kB / 0.572 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4338, allocations: 0 / 0.572 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.4349, allocations: 0.6613 MB / 0.5727 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4349, allocations: 4 kB / 0.5727 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.435, allocations: 35.92 kB / 0.5727 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.435, allocations: 0 / 0.5727 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.435, allocations: 4 kB / 0.5727 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.435, allocations: 8 kB / 0.5727 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.435, allocations: 0 / 0.5727 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.4355, allocations: 337.5 kB / 0.573 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.4356, allocations: 47.7 kB / 0.5731 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.4357, allocations: 0 / 0.5731 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.4358, allocations: 11.98 kB / 0.5731 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.4359, allocations: 19.92 kB / 0.5731 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.4359, allocations: 4 kB / 0.5731 GB, free: 8.141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006595/0.4365, allocations: 450.8 kB / 0.5735 GB, free: 7.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4365, allocations: 0 / 0.5735 GB, free: 7.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.4369, allocations: 55.92 kB / 0.5736 GB, free: 7.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.004232/0.4411, allocations: 1.468 MB / 0.575 GB, free: 6.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.4416, allocations: 167.7 kB / 0.5752 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4416, allocations: 0 / 0.5752 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.4418, allocations: 83.89 kB / 0.5753 GB, free: 6.191 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.4425, allocations: 84.78 kB / 0.5753 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.4474, allocations: 3.338 MB / 0.5786 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.448, allocations: 0.826 MB / 0.5794 GB, free: 1.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.4482, allocations: 62.22 kB / 0.5795 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.4484, allocations: 139.4 kB / 0.5796 GB, free: 1.648 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4484, allocations: 0 / 0.5796 GB, free: 1.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.4833, allocations: 8.021 MB / 0.5874 GB, free: 9.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.891, allocations: 15.53 kB / 0.5874 GB, free: 9.613 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.985915761906654] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D1D.y[1]', 'combiTable2D1DT.y[1]', 'clock1.y', 'combiTable1D.y[1]', 'combiTable2D.y[1]', 'combiTable2DT.y[1]', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 9.037295995280147 9.052801517 8.62391897 Calling exit ...