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.001338/0.001338, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.001501/0.001501, allocations: 217.5 kB / 23 MB, free: 5.609 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.463/1.463, allocations: 230.2 MB / 256.2 MB, free: 8.723 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.2339/0.2339, allocations: 46.88 MB / 359.4 MB, free: 4.945 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.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.002344/0.002344, allocations: 79.86 kB / 0.4941 GB, free: 9.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3426, allocations: 65.98 MB / 0.5586 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003928/0.3465, allocations: 2.069 MB / 0.5606 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3487, allocations: 1.146 MB / 0.5617 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.3489, allocations: 7.938 kB / 0.5617 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005917/0.3495, allocations: 263.1 kB / 0.562 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006715/0.3502, allocations: 259.1 kB / 0.5622 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.3518, allocations: 0.6604 MB / 0.5629 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.3524, allocations: 347 kB / 0.5632 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.3526, allocations: 54.53 kB / 0.5633 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.3529, allocations: 151.4 kB / 0.5634 GB, free: 256 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.3532, allocations: 227.2 kB / 0.5636 GB, free: 28 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.3533, allocations: 12 kB / 0.5636 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.3535, allocations: 107.9 kB / 0.5637 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3537, allocations: 107.5 kB / 0.5638 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.3538, allocations: 130.9 kB / 0.564 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006275/0.3545, allocations: 374.1 kB / 0.5643 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3545, allocations: 0 / 0.5643 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3545, allocations: 0 / 0.5643 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.3545, allocations: 4 kB / 0.5643 GB, free: 15.3 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.001205/0.3557, allocations: 0.7112 MB / 0.565 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.3557, allocations: 8.031 kB / 0.565 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.887e-05/0.3558, allocations: 46.73 kB / 0.5651 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.3559, allocations: 44.66 kB / 0.5651 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.3565, allocations: 354.4 kB / 0.5654 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3565, allocations: 8.375 kB / 0.5655 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.3566, allocations: 12.38 kB / 0.5655 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.3569, allocations: 130.1 kB / 0.5656 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3569, allocations: 7.891 kB / 0.5656 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3569, allocations: 7.875 kB / 0.5656 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3569, allocations: 4 kB / 0.5656 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.3571, allocations: 91.92 kB / 0.5657 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008949/0.358, allocations: 0.516 MB / 0.5662 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.3582, allocations: 114.5 kB / 0.5663 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.3583, allocations: 32.84 kB / 0.5663 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.3584, allocations: 7.984 kB / 0.5663 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.3584, allocations: 34.56 kB / 0.5664 GB, free: 13.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3584, allocations: 0 / 0.5664 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001223/0.3596, allocations: 463 kB / 0.5668 GB, free: 12.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.3597, allocations: 55.34 kB / 0.5669 GB, free: 12.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008657/0.3606, allocations: 0.6112 MB / 0.5675 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3606, allocations: 25.7 kB / 0.5675 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3608, allocations: 212.4 kB / 0.5677 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.3608, allocations: 59.48 kB / 0.5678 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.3609, allocations: 37.7 kB / 0.5678 GB, free: 11.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.3611, allocations: 358.8 kB / 0.5681 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3612, allocations: 67.95 kB / 0.5682 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3614, allocations: 67.95 kB / 0.5683 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.3617, allocations: 151 kB / 0.5684 GB, free: 10.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3617, allocations: 0 / 0.5684 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004392/0.3621, allocations: 237.2 kB / 0.5686 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3621, allocations: 11.94 kB / 0.5686 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3622, allocations: 4 kB / 0.5686 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3622, allocations: 0 / 0.5686 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3623, allocations: 31.98 kB / 0.5687 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3623, allocations: 0 / 0.5687 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.761e-05/0.3624, allocations: 11.92 kB / 0.5687 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3624, allocations: 12 kB / 0.5687 GB, free: 10.57 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.0001903/0.3626, allocations: 181.7 kB / 0.5689 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/0.3627, allocations: 51.61 kB / 0.5689 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006028/0.3633, allocations: 280.4 kB / 0.5692 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3633, allocations: 4 kB / 0.5692 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3633, allocations: 0 / 0.5692 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3634, allocations: 0 / 0.5692 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3644, allocations: 0.6934 MB / 0.5699 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3644, allocations: 0 / 0.5699 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3645, allocations: 39.91 kB / 0.5699 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3645, allocations: 7.938 kB / 0.5699 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3646, allocations: 4 kB / 0.5699 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3646, allocations: 0 / 0.5699 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3646, allocations: 0 / 0.5699 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.3651, allocations: 343 kB / 0.5703 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3652, allocations: 120.8 kB / 0.5704 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3652, allocations: 8 kB / 0.5704 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3653, allocations: 8 kB / 0.5704 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.3654, allocations: 11.92 kB / 0.5704 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3654, allocations: 11.98 kB / 0.5704 GB, free: 8.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005128/0.3659, allocations: 450.8 kB / 0.5708 GB, free: 8.273 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3659, allocations: 0 / 0.5708 GB, free: 8.273 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.3662, allocations: 47.94 kB / 0.5709 GB, free: 8.227 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.003495/0.3697, allocations: 1.475 MB / 0.5723 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.3701, allocations: 161.9 kB / 0.5725 GB, free: 6.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3701, allocations: 4 kB / 0.5725 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.3703, allocations: 87.88 kB / 0.5726 GB, free: 6.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.3709, allocations: 87.78 kB / 0.5726 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.3754, allocations: 3.341 MB / 0.5759 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.3759, allocations: 0.8299 MB / 0.5767 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.3761, allocations: 62.23 kB / 0.5768 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.3763, allocations: 143.3 kB / 0.5769 GB, free: 2.234 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3763, allocations: 4 kB / 0.5769 GB, free: 2.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.4089, allocations: 7.903 MB / 0.5846 GB, free: 10.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/8.836, allocations: 9.75 kB / 0.5846 GB, free: 10.33 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 --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.803311925992602] 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'] 8.96442152900272 8.992042774 8.632221006 Calling exit ...