Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001311/0.001311, 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.001396/0.001396, 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.445/1.445, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2319/0.2319, allocations: 46.92 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.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",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.00249/0.00249, allocations: 75.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3259, allocations: 66.08 MB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003096/0.329, allocations: 1.642 MB / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3301, allocations: 0.5616 MB / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.3301, allocations: 0 / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.3304, allocations: 115.6 kB / 0.5638 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.3307, allocations: 115.6 kB / 0.5639 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.331, allocations: 119.6 kB / 0.564 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.3312, allocations: 91.75 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.3312, allocations: 11.98 kB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.3313, allocations: 39.89 kB / 0.5642 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3314, allocations: 71.8 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.3315, allocations: 4 kB / 0.5642 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.3316, allocations: 51.91 kB / 0.5643 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.3316, allocations: 35.86 kB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.3317, allocations: 35.69 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3319, allocations: 111.5 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3319, allocations: 0 / 0.5645 GB, free: 1.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3319, allocations: 3.938 kB / 0.5645 GB, free: 1.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3319, allocations: 0 / 0.5645 GB, free: 1.332 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.0005755/0.3324, allocations: 357.5 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3325, allocations: 8.031 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.3325, allocations: 34.75 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.3325, allocations: 20.88 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3327, allocations: 151 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3328, allocations: 4.359 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.3328, allocations: 4.375 kB / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3329, allocations: 54.23 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.3329, allocations: 11.89 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.3329, allocations: 0 / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.333, allocations: 0 / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.333, allocations: 27.97 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.3335, allocations: 283.8 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3336, allocations: 46.55 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.3336, allocations: 16.95 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3336, allocations: 7.984 kB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3337, allocations: 34.56 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3337, allocations: 0 / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008782/0.3346, allocations: 245.2 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3346, allocations: 59.34 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.3349, allocations: 255 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3349, allocations: 25.7 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.335, allocations: 108.1 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.335, allocations: 31.73 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.3351, allocations: 21.72 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3352, allocations: 334.8 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.3353, allocations: 27.98 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.3354, allocations: 35.97 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.3355, allocations: 76.89 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3355, allocations: 3.938 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002227/0.3357, allocations: 113.5 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3358, allocations: 4 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3358, allocations: 3.984 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3358, allocations: 0 / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3359, allocations: 24 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3359, allocations: 3.984 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.3359, allocations: 4 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3359, allocations: 3.938 kB / 0.5668 GB, free: 14.73 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.0001086/0.336, allocations: 134.7 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.3361, allocations: 11.91 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.3364, allocations: 139.3 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3364, allocations: 4 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3364, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3364, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.337, allocations: 402.7 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-06/0.337, allocations: 0 / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-05/0.337, allocations: 15.98 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.337, allocations: 4 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.337, allocations: 11.97 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.337, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.337, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.3373, allocations: 228.2 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.3374, allocations: 7.953 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3374, allocations: 3.938 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.3375, allocations: 11.94 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.3375, allocations: 7.984 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3375, allocations: 4 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.3377, allocations: 187.2 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3377, allocations: 0 / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.3379, allocations: 27.92 kB / 0.5679 GB, free: 13.46 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.002142/0.3401, allocations: 1.1 MB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.3403, allocations: 71.89 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3403, allocations: 0 / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.3404, allocations: 35.97 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3408, allocations: 23.73 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.3429, allocations: 1.811 MB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3433, allocations: 0.712 MB / 0.5716 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.3434, allocations: 20.59 kB / 0.5716 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.3434, allocations: 43.42 kB / 0.5717 GB, free: 9.664 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3434, allocations: 0 / 0.5717 GB, free: 9.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.3706, allocations: 3.409 MB / 0.575 GB, free: 6.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.391, allocations: 12.45 kB / 0.575 GB, free: 6.254 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.247689206153154] 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.530482564121485 8.556845361 8.220834811 Calling exit ...