Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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.00185/0.00185, 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.00213/0.00213, allocations: 213.2 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.45/1.45, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2248/0.2248, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",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.002382/0.002382, allocations: 87.83 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3085, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003449/0.312, allocations: 1.63 MB / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3132, allocations: 0.5615 MB / 0.5637 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.3132, allocations: 4 kB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.3135, allocations: 79.77 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.3138, allocations: 99.58 kB / 0.5639 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.3142, allocations: 115.7 kB / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3144, allocations: 91.75 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3145, allocations: 11.98 kB / 0.5641 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.3145, allocations: 31.91 kB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3147, allocations: 63.81 kB / 0.5642 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3147, allocations: 3.938 kB / 0.5642 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3148, allocations: 51.97 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.3148, allocations: 19.92 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.3149, allocations: 31.69 kB / 0.5643 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3151, allocations: 111.5 kB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3151, allocations: 0 / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3151, allocations: 0 / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3151, allocations: 0 / 0.5644 GB, free: 1.402 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.0005537/0.3157, allocations: 345.6 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3157, allocations: 8.031 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.3158, allocations: 38.73 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3158, allocations: 12.84 kB / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.316, allocations: 151 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.316, allocations: 4.312 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3161, allocations: 4.375 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.3162, allocations: 54.23 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3162, allocations: 3.938 kB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3162, allocations: 0 / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3162, allocations: 4 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.3164, allocations: 31.97 kB / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.3168, allocations: 275.8 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3169, allocations: 54.53 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.317, allocations: 12.86 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.317, allocations: 4 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.3171, allocations: 42.64 kB / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3171, allocations: 0 / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009775/0.318, allocations: 241.2 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3181, allocations: 55.34 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3183, allocations: 214.2 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3183, allocations: 25.7 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.3184, allocations: 112.1 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.3185, allocations: 27.73 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.3185, allocations: 17.72 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3187, allocations: 330.8 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.3188, allocations: 31.98 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.3189, allocations: 32.05 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.319, allocations: 76.8 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.319, allocations: 0 / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002237/0.3192, allocations: 117.5 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3193, allocations: 6.188 kB / 0.5666 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3193, allocations: 4 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3193, allocations: 0 / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3194, allocations: 19.98 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3194, allocations: 0 / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.3195, allocations: 4 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3195, allocations: 3.938 kB / 0.5666 GB, free: 14.89 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.0001301/0.3196, allocations: 130.7 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.3196, allocations: 11.91 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.32, allocations: 135.3 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.32, allocations: 4 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.32, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.32, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.3206, allocations: 402.3 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3206, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.3207, allocations: 20.02 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3207, allocations: 7.938 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3207, allocations: 3.938 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3207, allocations: 4 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3207, allocations: 0 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.321, allocations: 224.2 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.321, allocations: 7.906 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.321, allocations: 11.94 kB / 0.5675 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.3211, allocations: 4 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.3211, allocations: 3.984 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3211, allocations: 4 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.3213, allocations: 168.2 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3213, allocations: 0 / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3215, allocations: 23.92 kB / 0.5677 GB, free: 13.65 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.0022/0.3237, allocations: 1.089 MB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.324, allocations: 67.95 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.324, allocations: 0 / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.3241, allocations: 39.91 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.3246, allocations: 26.7 kB / 0.5689 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.3266, allocations: 1.72 MB / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.327, allocations: 0.7041 MB / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.004e-05/0.327, allocations: 28.94 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.3271, allocations: 43.34 kB / 0.5714 GB, free: 9.961 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3271, allocations: 0 / 0.5714 GB, free: 9.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.3527, allocations: 3.243 MB / 0.5745 GB, free: 6.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/8.628, allocations: 3.875 kB / 0.5745 GB, free: 6.723 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.612395365256816] 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.771484361030161 8.799324317 8.479214645 Calling exit ...