Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.001713/0.001713, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.002055/0.002055, allocations: 218.8 kB / 23 MB, free: 5.582 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.529/1.529, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2272/0.2272, allocations: 46.9 MB / 359.4 MB, free: 4.91 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.002385/0.002385, allocations: 83.84 kB / 0.4942 GB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3103, allocations: 65.99 MB / 0.5586 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.00317/0.3135, allocations: 1.674 MB / 0.5602 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3146, allocations: 0.5655 MB / 0.5608 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.3146, allocations: 0 / 0.5608 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.3149, allocations: 103.7 kB / 0.5609 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.3152, allocations: 111.6 kB / 0.561 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.3156, allocations: 115.7 kB / 0.5611 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3158, allocations: 103.8 kB / 0.5612 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3159, allocations: 21.81 kB / 0.5612 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.316, allocations: 47.72 kB / 0.5613 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.3161, allocations: 71.8 kB / 0.5613 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3161, allocations: 4 kB / 0.5613 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3162, allocations: 51.97 kB / 0.5614 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.3163, allocations: 27.86 kB / 0.5614 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.3163, allocations: 39.69 kB / 0.5615 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3165, allocations: 135.4 kB / 0.5616 GB, free: 2.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3165, allocations: 0 / 0.5616 GB, free: 2.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3165, allocations: 0 / 0.5616 GB, free: 2.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3166, allocations: 3.984 kB / 0.5616 GB, free: 2.066 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005753/0.3171, allocations: 446.5 kB / 0.562 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3172, allocations: 8.031 kB / 0.562 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.3172, allocations: 38.75 kB / 0.5621 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.3172, allocations: 12.84 kB / 0.5621 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.3175, allocations: 208.2 kB / 0.5623 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-06/0.3175, allocations: 384 / 0.5623 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.3175, allocations: 12.36 kB / 0.5623 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3177, allocations: 77.55 kB / 0.5624 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3177, allocations: 7.891 kB / 0.5624 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3177, allocations: 0 / 0.5624 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.3177, allocations: 8 kB / 0.5624 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3178, allocations: 43.95 kB / 0.5624 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.3183, allocations: 348.7 kB / 0.5627 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.3185, allocations: 62.55 kB / 0.5628 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.3185, allocations: 20.84 kB / 0.5628 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3186, allocations: 8 kB / 0.5628 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3186, allocations: 34.56 kB / 0.5629 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3186, allocations: 0 / 0.5629 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001105/0.3197, allocations: 345.6 kB / 0.5632 GB, free: 248 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3197, allocations: 59.34 kB / 0.5633 GB, free: 176 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.32, allocations: 236.3 kB / 0.5635 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.32, allocations: 29.69 kB / 0.5635 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.3201, allocations: 116.1 kB / 0.5636 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.3202, allocations: 43.58 kB / 0.5637 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.3202, allocations: 29.72 kB / 0.5637 GB, free: 15.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3204, allocations: 326.8 kB / 0.564 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3205, allocations: 43.97 kB / 0.564 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3206, allocations: 43.97 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3208, allocations: 112.8 kB / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3208, allocations: 0 / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003017/0.3211, allocations: 156.9 kB / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3212, allocations: 12 kB / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3212, allocations: 3.938 kB / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3212, allocations: 0 / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3213, allocations: 35.92 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3213, allocations: 4 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.3214, allocations: 3.984 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3214, allocations: 4 kB / 0.5644 GB, free: 14.95 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 (13): * Single equations (assignments): 13 * 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.0001261/0.3215, allocations: 141.8 kB / 0.5645 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3215, allocations: 15.91 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.3219, allocations: 179.1 kB / 0.5647 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.322, allocations: 3.938 kB / 0.5647 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.322, allocations: 4 kB / 0.5647 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.322, allocations: 0 / 0.5647 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.3227, allocations: 0.503 MB / 0.5652 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3227, allocations: 0 / 0.5652 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/0.3228, allocations: 23.98 kB / 0.5652 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.3228, allocations: 4 kB / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3228, allocations: 0 / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3228, allocations: 0 / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3228, allocations: 4 kB / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.3232, allocations: 260.2 kB / 0.5655 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.3232, allocations: 96.98 kB / 0.5656 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.3233, allocations: 8 kB / 0.5656 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.3233, allocations: 0 / 0.5656 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.3234, allocations: 15.98 kB / 0.5656 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3234, allocations: 4 kB / 0.5656 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.3235, allocations: 181.2 kB / 0.5658 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3235, allocations: 0 / 0.5658 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3238, allocations: 31.94 kB / 0.5658 GB, free: 13.38 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 (13): * Single equations (assignments): 13 * 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.002239/0.3261, allocations: 1.149 MB / 0.5669 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.3264, allocations: 99.94 kB / 0.567 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3264, allocations: 0 / 0.567 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3265, allocations: 63.97 kB / 0.5671 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.3269, allocations: 27.48 kB / 0.5671 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.3293, allocations: 1.92 MB / 0.569 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.3297, allocations: 0.7236 MB / 0.5697 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.3298, allocations: 28.53 kB / 0.5697 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.3299, allocations: 43.42 kB / 0.5698 GB, free: 9.363 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3299, allocations: 0 / 0.5698 GB, free: 9.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.355, allocations: 3.632 MB / 0.5733 GB, free: 5.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.525, allocations: 5.109 kB / 0.5733 GB, free: 5.742 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.458454320003511] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.65284825101844 8.682586774 8.360568377 Calling exit ...