Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001637/0.001637, 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.002063/0.002063, allocations: 222.8 kB / 23 MB, free: 5.617 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.501/1.501, allocations: 230.2 MB / 256.2 MB, free: 8.566 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.2331/0.2331, allocations: 46.89 MB / 359.4 MB, free: 4.918 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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",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.002393/0.002393, allocations: 87.86 kB / 0.4942 GB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3174, allocations: 65.99 MB / 0.5586 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003288/0.3207, allocations: 1.639 MB / 0.5602 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3219, allocations: 0.5616 MB / 0.5608 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.322, allocations: 4 kB / 0.5608 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.3224, allocations: 115.7 kB / 0.5609 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.3229, allocations: 131.5 kB / 0.561 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.3233, allocations: 111.7 kB / 0.5611 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.3236, allocations: 95.78 kB / 0.5612 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.3237, allocations: 13.83 kB / 0.5612 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.564e-05/0.3238, allocations: 51.81 kB / 0.5613 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.324, allocations: 95.75 kB / 0.5613 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3241, allocations: 7.938 kB / 0.5614 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3242, allocations: 47.92 kB / 0.5614 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.3243, allocations: 27.91 kB / 0.5614 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.3243, allocations: 39.69 kB / 0.5615 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.3246, allocations: 123.4 kB / 0.5616 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3246, allocations: 0 / 0.5616 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3246, allocations: 0 / 0.5616 GB, free: 2.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3246, allocations: 3.938 kB / 0.5616 GB, free: 2.074 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.0007957/0.3254, allocations: 442.5 kB / 0.562 GB, free: 1.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.3255, allocations: 8.031 kB / 0.562 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.3256, allocations: 34.73 kB / 0.5621 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.3256, allocations: 20.84 kB / 0.5621 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.326, allocations: 211.8 kB / 0.5623 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.326, allocations: 8.375 kB / 0.5623 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.326, allocations: 384 / 0.5623 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3262, allocations: 58.23 kB / 0.5623 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3263, allocations: 7.875 kB / 0.5623 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3263, allocations: 0 / 0.5623 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3263, allocations: 0 / 0.5623 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.3264, allocations: 23.98 kB / 0.5624 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.327, allocations: 308.8 kB / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3271, allocations: 54.48 kB / 0.5627 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.3272, allocations: 12.95 kB / 0.5627 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3272, allocations: 12.05 kB / 0.5627 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3272, allocations: 34.56 kB / 0.5628 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.316e-06/0.3272, allocations: 4 kB / 0.5628 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001057/0.3283, allocations: 245.1 kB / 0.563 GB, free: 448 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3283, allocations: 55.41 kB / 0.5631 GB, free: 380 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.3286, allocations: 271.8 kB / 0.5633 GB, free: 92 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3287, allocations: 37.64 kB / 0.5634 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3288, allocations: 112.1 kB / 0.5635 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.3288, allocations: 27.73 kB / 0.5635 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.3289, allocations: 21.72 kB / 0.5635 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.329, allocations: 330.8 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.43e-05/0.3291, allocations: 27.97 kB / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/0.3292, allocations: 35.97 kB / 0.5639 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.3294, allocations: 76.77 kB / 0.564 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3294, allocations: 0 / 0.564 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002456/0.3296, allocations: 117.8 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3296, allocations: 4 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3296, allocations: 4 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.3297, allocations: 7.984 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3298, allocations: 15.94 kB / 0.5641 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3298, allocations: 4.062 kB / 0.5641 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.3299, allocations: 11.98 kB / 0.5641 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3299, allocations: 11.88 kB / 0.5641 GB, free: 15.23 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 (8): * Single equations (assignments): 8 * 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.0001361/0.33, allocations: 133.8 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.33, allocations: 11.91 kB / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.3304, allocations: 135.5 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3304, allocations: 0 / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3304, allocations: 4 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3304, allocations: 0 / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.3311, allocations: 443.2 kB / 0.5648 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3311, allocations: 0 / 0.5648 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.3312, allocations: 19.92 kB / 0.5648 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3312, allocations: 0 / 0.5648 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3312, allocations: 7.938 kB / 0.5649 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3312, allocations: 32 / 0.5649 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3312, allocations: 4 kB / 0.5649 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.3315, allocations: 212.3 kB / 0.5651 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.3316, allocations: 89.02 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3316, allocations: 7.922 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.3317, allocations: 8 kB / 0.5652 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.3317, allocations: 15.92 kB / 0.5652 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3317, allocations: 3.938 kB / 0.5652 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.3319, allocations: 205.5 kB / 0.5654 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3319, allocations: 0 / 0.5654 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.3322, allocations: 27.92 kB / 0.5654 GB, free: 13.81 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002207/0.3344, allocations: 1.105 MB / 0.5665 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.3346, allocations: 75.88 kB / 0.5666 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3346, allocations: 0 / 0.5666 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.3347, allocations: 43.91 kB / 0.5666 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3351, allocations: 23.77 kB / 0.5666 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.3373, allocations: 1.852 MB / 0.5684 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3377, allocations: 0.7265 MB / 0.5691 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.262e-05/0.3378, allocations: 20.66 kB / 0.5692 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.3378, allocations: 39.42 kB / 0.5692 GB, free: 9.957 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3378, allocations: 0 / 0.5692 GB, free: 9.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.3616, allocations: 3.453 MB / 0.5726 GB, free: 6.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.367, allocations: 11.36 kB / 0.5726 GB, free: 6.508 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.318628006003564] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.49179951500264 8.514825615 8.185900278 Calling exit ...