Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001292/0.001292, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001899/0.001899, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.417/1.417, allocations: 230.5 MB / 258.2 MB, free: 7.969 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.2586/0.2586, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.002291/0.002291, allocations: 91.84 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3222, allocations: 66.07 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003283/0.3255, allocations: 1.719 MB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.3267, allocations: 0.6082 MB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.3268, allocations: 8 kB / 0.5638 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.327, allocations: 27.78 kB / 0.5638 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3273, allocations: 79.56 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.3278, allocations: 198.4 kB / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.328, allocations: 91.75 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3282, allocations: 21.89 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.542e-05/0.3282, allocations: 43.83 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.3283, allocations: 47.78 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3284, allocations: 4 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.3285, allocations: 103.9 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.3286, allocations: 27.91 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.3287, allocations: 39.73 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.329, allocations: 167.4 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.329, allocations: 0 / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.329, allocations: 4 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.329, allocations: 0 / 0.5646 GB, free: 1.113 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.0006683/0.3296, allocations: 381.3 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3297, allocations: 16.02 kB / 0.565 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.3297, allocations: 30.75 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3298, allocations: 12.89 kB / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.33, allocations: 142.4 kB / 0.5652 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.33, allocations: 8.375 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.33, allocations: 4.375 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.3303, allocations: 95.91 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3303, allocations: 3.938 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3303, allocations: 3.938 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3303, allocations: 0 / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.3306, allocations: 75.91 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.3312, allocations: 315.8 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3315, allocations: 78.47 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.3316, allocations: 48.94 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3317, allocations: 0 / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3317, allocations: 34.56 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.3317, allocations: 0 / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001531/0.3332, allocations: 413 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.3333, allocations: 77.11 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3335, allocations: 167.2 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3335, allocations: 33.64 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.3336, allocations: 108 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3336, allocations: 35.81 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.291e-05/0.3337, allocations: 29.64 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3339, allocations: 326.8 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.3342, allocations: 71.92 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.3345, allocations: 101.6 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.335, allocations: 168.7 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.335, allocations: 384 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000627/0.3357, allocations: 209.4 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3357, allocations: 6.344 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3357, allocations: 7.984 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3357, allocations: 4 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.3359, allocations: 43.89 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3359, allocations: 0 / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.3361, allocations: 23.92 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3361, allocations: 11.94 kB / 0.5676 GB, free: 13.87 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 (10): * Single equations (assignments): 10 * 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.0001088/0.3362, allocations: 125.8 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.3362, allocations: 7.953 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006598/0.3369, allocations: 226.4 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3369, allocations: 8 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3369, allocations: 0 / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3369, allocations: 0 / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009666/0.3379, allocations: 0.4934 MB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3379, allocations: 0 / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.338, allocations: 39.89 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.338, allocations: 0 / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.338, allocations: 3.938 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3381, allocations: 4 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3381, allocations: 0 / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.3387, allocations: 299.3 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.3387, allocations: 15.89 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.3387, allocations: 11.88 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3389, allocations: 27.97 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.339, allocations: 11.98 kB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.339, allocations: 3.984 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.3391, allocations: 127.2 kB / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3391, allocations: 0 / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.3394, allocations: 47.86 kB / 0.569 GB, free: 12.35 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 (9): * Single equations (assignments): 9 * 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.002531/0.3419, allocations: 1.219 MB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.3426, allocations: 179.8 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3426, allocations: 0 / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.3429, allocations: 87.86 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3433, allocations: 27.17 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/0.3465, allocations: 1.94 MB / 0.5723 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.3469, allocations: 0.7008 MB / 0.573 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.347, allocations: 32.45 kB / 0.5731 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.3471, allocations: 43.41 kB / 0.5731 GB, free: 8.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3471, allocations: 0 / 0.5731 GB, free: 8.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3755, allocations: 4.485 MB / 0.5775 GB, free: 3.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.667, allocations: 8 kB / 0.5775 GB, free: 3.645 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.517175276298076] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'ramp.y', 'ramp1.y'] 8.812917295377702 8.83933647 8.50639809 Calling exit ...