Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001243/0.001243, allocations: 109.4 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.001422/0.001422, allocations: 217.7 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.457/1.457, allocations: 230.2 MB / 256.2 MB, free: 8.727 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.2332/0.2332, allocations: 46.89 MB / 359.4 MB, free: 4.926 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",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.002278/0.002278, allocations: 79.84 kB / 0.4942 GB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3312, allocations: 65.99 MB / 0.5586 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002977/0.3342, allocations: 1.676 MB / 0.5602 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3352, allocations: 0.6083 MB / 0.5608 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.3353, allocations: 0 / 0.5608 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.3359, allocations: 443.2 kB / 0.5612 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.3364, allocations: 303.2 kB / 0.5615 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.3368, allocations: 171.1 kB / 0.5617 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.337, allocations: 179.6 kB / 0.5619 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3371, allocations: 17.81 kB / 0.5619 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3372, allocations: 111.7 kB / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.3376, allocations: 255.5 kB / 0.5622 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3376, allocations: 4 kB / 0.5622 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.3377, allocations: 35.94 kB / 0.5623 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3378, allocations: 83.69 kB / 0.5624 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.3379, allocations: 110.9 kB / 0.5625 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.3382, allocations: 270.6 kB / 0.5627 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3382, allocations: 0 / 0.5627 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3382, allocations: 0 / 0.5627 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3382, allocations: 0 / 0.5627 GB, free: 0.9336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007885/0.339, allocations: 0.6801 MB / 0.5634 GB, free: 204 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.339, allocations: 8.031 kB / 0.5634 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.3391, allocations: 38.75 kB / 0.5634 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.3391, allocations: 44.59 kB / 0.5635 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.3394, allocations: 312.6 kB / 0.5638 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.3394, allocations: 384 / 0.5638 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3395, allocations: 384 / 0.5638 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.3397, allocations: 62.23 kB / 0.5638 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3397, allocations: 3.938 kB / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3397, allocations: 0 / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3397, allocations: 0 / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.3398, allocations: 47.95 kB / 0.5639 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.3404, allocations: 416.5 kB / 0.5643 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.3405, allocations: 42.56 kB / 0.5643 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.3406, allocations: 24.94 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3406, allocations: 4 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3406, allocations: 38.55 kB / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3406, allocations: 0 / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008723/0.3415, allocations: 316.5 kB / 0.5647 GB, free: 14.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3415, allocations: 51.41 kB / 0.5647 GB, free: 14.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/0.3424, allocations: 0.8776 MB / 0.5656 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3425, allocations: 25.7 kB / 0.5656 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.3427, allocations: 220 kB / 0.5658 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3427, allocations: 27.86 kB / 0.5659 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.3427, allocations: 21.7 kB / 0.5659 GB, free: 13.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3429, allocations: 366.7 kB / 0.5662 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3431, allocations: 43.95 kB / 0.5663 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3432, allocations: 35.97 kB / 0.5663 GB, free: 13.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.3434, allocations: 88.8 kB / 0.5664 GB, free: 12.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3434, allocations: 0 / 0.5664 GB, free: 12.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003553/0.3438, allocations: 169.2 kB / 0.5665 GB, free: 12.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3438, allocations: 4 kB / 0.5665 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3438, allocations: 0 / 0.5665 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3438, allocations: 0 / 0.5665 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3439, allocations: 23.92 kB / 0.5666 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3439, allocations: 0 / 0.5666 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.344, allocations: 15.98 kB / 0.5666 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.344, allocations: 4 kB / 0.5666 GB, free: 12.72 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 (7): * Single equations (assignments): 7 * 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.0002086/0.3442, allocations: 217.7 kB / 0.5668 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.3443, allocations: 43.72 kB / 0.5668 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.3447, allocations: 194 kB / 0.567 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3447, allocations: 0 / 0.567 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3447, allocations: 3.984 kB / 0.567 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3447, allocations: 4 kB / 0.567 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.3455, allocations: 0.5023 MB / 0.5675 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3455, allocations: 0 / 0.5675 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.3455, allocations: 19.98 kB / 0.5675 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3455, allocations: 0 / 0.5675 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3456, allocations: 8 kB / 0.5675 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.3456, allocations: 7.875 kB / 0.5676 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3456, allocations: 7.984 kB / 0.5676 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.3459, allocations: 259.1 kB / 0.5678 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.346, allocations: 108.8 kB / 0.5679 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.3461, allocations: 0 / 0.5679 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3462, allocations: 27.86 kB / 0.5679 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3462, allocations: 7.984 kB / 0.568 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3462, allocations: 0 / 0.568 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006776/0.3469, allocations: 0.655 MB / 0.5686 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3469, allocations: 0 / 0.5686 GB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3472, allocations: 27.98 kB / 0.5686 GB, free: 10.54 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 (7): * Single equations (assignments): 7 * 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.002116/0.3493, allocations: 1.103 MB / 0.5697 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.3496, allocations: 83.94 kB / 0.5698 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3496, allocations: 0 / 0.5698 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3497, allocations: 51.89 kB / 0.5698 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3502, allocations: 35.53 kB / 0.5699 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.3546, allocations: 3.375 MB / 0.5732 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.3551, allocations: 0.8338 MB / 0.574 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.3552, allocations: 24.62 kB / 0.574 GB, free: 5.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.3554, allocations: 123.4 kB / 0.5741 GB, free: 4.93 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3554, allocations: 0 / 0.5741 GB, free: 4.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.3832, allocations: 6.276 MB / 0.5802 GB, free: 14.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/9.055, allocations: 15.36 kB / 0.5803 GB, free: 14.64 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.859935237996979] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 9.18007744901115 9.196892516 8.854278772 Calling exit ...