Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.001928/0.001928, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002485/0.002485, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.464/1.464, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2343/0.2343, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.002358/0.002358, allocations: 75.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3131, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003155/0.3162, allocations: 1.673 MB / 0.5632 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3173, allocations: 0.5615 MB / 0.5637 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.3173, allocations: 3.938 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.3176, allocations: 95.73 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.3179, allocations: 115.6 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.3182, allocations: 103.6 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.3184, allocations: 95.75 kB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3185, allocations: 23.97 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.528e-05/0.3185, allocations: 39.84 kB / 0.5642 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3187, allocations: 63.8 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3187, allocations: 4 kB / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.3188, allocations: 47.98 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.3188, allocations: 39.78 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.3189, allocations: 39.69 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.3191, allocations: 127.4 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3191, allocations: 0 / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3191, allocations: 0 / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3191, allocations: 0 / 0.5645 GB, free: 1.301 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005029/0.3196, allocations: 357.5 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3196, allocations: 12.03 kB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.3197, allocations: 38.73 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3197, allocations: 16.84 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.3199, allocations: 158.2 kB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3199, allocations: 12.36 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3199, allocations: 4.375 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3201, allocations: 66.23 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3201, allocations: 7.891 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3201, allocations: 0 / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3201, allocations: 4 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.3203, allocations: 43.89 kB / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.3207, allocations: 303.8 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.3208, allocations: 58.56 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.3209, allocations: 32.72 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3209, allocations: 0 / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.3209, allocations: 30.56 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.3209, allocations: 4 kB / 0.5656 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001078/0.322, allocations: 309.3 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.322, allocations: 59.34 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.3223, allocations: 239.5 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3223, allocations: 29.7 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.3224, allocations: 112 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.3224, allocations: 47.64 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.3225, allocations: 29.7 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3226, allocations: 322.8 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.3227, allocations: 31.98 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.274e-05/0.3228, allocations: 47.91 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.323, allocations: 88.33 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.323, allocations: 4 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002719/0.3233, allocations: 133.6 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3233, allocations: 4 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3233, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3233, allocations: 8 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3235, allocations: 39.91 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3235, allocations: 4.641 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.3235, allocations: 4 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3235, allocations: 4 kB / 0.567 GB, free: 14.48 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.0001167/0.3236, allocations: 134.7 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.3237, allocations: 15.91 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.3241, allocations: 167 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3241, allocations: 4 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3241, allocations: 3.938 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3241, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/0.3247, allocations: 458.1 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3247, allocations: 0 / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.3248, allocations: 23.98 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3248, allocations: 4 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3248, allocations: 4.031 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3248, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.3248, allocations: 7.938 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3252, allocations: 240.2 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.3252, allocations: 11.91 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.3252, allocations: 8 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.3253, allocations: 8 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.3253, allocations: 7.984 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.3253, allocations: 15.92 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.3255, allocations: 177.1 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3255, allocations: 0 / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3258, allocations: 27.98 kB / 0.5683 GB, free: 13.11 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.002207/0.328, allocations: 1.123 MB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.3283, allocations: 107.8 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3283, allocations: 0 / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3284, allocations: 47.92 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.3288, allocations: 31.09 kB / 0.5696 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.331, allocations: 1.847 MB / 0.5714 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3314, allocations: 0.7203 MB / 0.5721 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.3315, allocations: 16.48 kB / 0.5721 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.3316, allocations: 51.41 kB / 0.5721 GB, free: 9.191 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3316, allocations: 0 / 0.5721 GB, free: 9.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.3584, allocations: 3.624 MB / 0.5757 GB, free: 5.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.658, allocations: 9.141 kB / 0.5757 GB, free: 5.566 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.559811547864228] 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.799047418870032 8.824596519 8.500731104 Calling exit ...