Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.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.001749/0.001749, allocations: 109 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.002122/0.002122, allocations: 213.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.413/1.413, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2237/0.2237, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",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.00235/0.00235, allocations: 83.84 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.309, allocations: 66.08 MB / 0.5616 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003267/0.3122, allocations: 1.745 MB / 0.5633 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.314, allocations: 1.045 MB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.3141, allocations: 3.938 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.3143, allocations: 51.75 kB / 0.5644 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.3146, allocations: 107.5 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.3148, allocations: 75.73 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.315, allocations: 111.6 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.128e-05/0.3151, allocations: 5.969 kB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.751e-05/0.3152, allocations: 47.73 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.461e-05/0.3153, allocations: 35.83 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3153, allocations: 4 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3154, allocations: 39.98 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.3154, allocations: 23.86 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.3155, allocations: 43.69 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.3157, allocations: 135.4 kB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3157, allocations: 0 / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3157, allocations: 0 / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.3157, allocations: 0 / 0.565 GB, free: 0.8164 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005924/0.3163, allocations: 361.4 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3164, allocations: 8.031 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.3164, allocations: 38.75 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.3165, allocations: 8.891 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.3168, allocations: 163 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3168, allocations: 8.375 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3168, allocations: 4.312 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.317, allocations: 57.8 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.317, allocations: 4 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.317, allocations: 0 / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.317, allocations: 0 / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.3171, allocations: 15.98 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.3175, allocations: 275.8 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3176, allocations: 54.67 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.3177, allocations: 20.84 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3177, allocations: 0 / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.3179, allocations: 71.33 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.3179, allocations: 4 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00052/0.3184, allocations: 177.3 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3184, allocations: 59.34 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.3187, allocations: 231 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3187, allocations: 29.7 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.3188, allocations: 116.1 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3188, allocations: 23.8 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3188, allocations: 25.7 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.319, allocations: 334.8 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.3191, allocations: 19.98 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.3191, allocations: 41.64 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3193, allocations: 61.7 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3193, allocations: 384 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.3195, allocations: 109.6 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3195, allocations: 4 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3195, allocations: 0 / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3195, allocations: 11.98 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.3196, allocations: 15.94 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3196, allocations: 3.984 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.3196, allocations: 4 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.3196, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001178/0.3198, allocations: 138.6 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.3198, allocations: 15.94 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.32, allocations: 119 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.32, allocations: 0 / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.32, allocations: 3.938 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.32, allocations: 0 / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.3205, allocations: 370.3 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3205, allocations: 0 / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.3205, allocations: 11.98 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3205, allocations: 4.031 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3206, allocations: 8 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3206, allocations: 3.938 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3206, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3208, allocations: 200.3 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.3208, allocations: 19.84 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3209, allocations: 7.984 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.3209, allocations: 7.938 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.321, allocations: 7.984 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.321, allocations: 8 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.3211, allocations: 167.2 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3211, allocations: 0 / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3214, allocations: 31.92 kB / 0.5683 GB, free: 13.09 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002119/0.3235, allocations: 1.08 MB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.3237, allocations: 63.91 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3237, allocations: 0 / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.3238, allocations: 27.92 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3241, allocations: 35.11 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3262, allocations: 1.755 MB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3265, allocations: 0.708 MB / 0.5719 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.921e-05/0.3266, allocations: 17.27 kB / 0.5719 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.3266, allocations: 43.42 kB / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3266, allocations: 0 / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3547, allocations: 3.71 MB / 0.5755 GB, free: 5.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.491, allocations: 2.812 kB / 0.5756 GB, free: 5.695 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.293539507780224] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.629702656995505 8.64859309 8.329487791 Calling exit ...