Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0013/0.0013, allocations: 110 kB / 20.42 MB, free: 1.535 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.001599/0.001599, allocations: 210.4 kB / 23.71 MB, free: 4.965 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.463/1.463, allocations: 230.2 MB / 257.1 MB, free: 8.5 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.2472/0.2472, allocations: 46.89 MB / 360.3 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 179] 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.002303/0.002303, allocations: 83.86 kB / 0.4956 GB, free: 8.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4156, allocations: 66 MB / 0.5601 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003709/0.4193, allocations: 1.741 MB / 0.5618 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.4213, allocations: 1.072 MB / 0.5628 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.4214, allocations: 3.938 kB / 0.5628 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.4217, allocations: 39.77 kB / 0.5629 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.422, allocations: 95.59 kB / 0.5629 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.4222, allocations: 71.69 kB / 0.563 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.4224, allocations: 111.7 kB / 0.5631 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4226, allocations: 17.8 kB / 0.5631 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.4227, allocations: 51.72 kB / 0.5632 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4228, allocations: 39.83 kB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.4228, allocations: 8 kB / 0.5632 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.423, allocations: 119.9 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.4231, allocations: 23.91 kB / 0.5634 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.4231, allocations: 31.75 kB / 0.5634 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.4235, allocations: 175.4 kB / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4235, allocations: 0 / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4235, allocations: 0 / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4235, allocations: 4 kB / 0.5636 GB, free: 1.262 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.0007234/0.4242, allocations: 438.4 kB / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4243, allocations: 12.03 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.4243, allocations: 30.75 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.4244, allocations: 12.89 kB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.4247, allocations: 212.2 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4248, allocations: 8.375 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.4248, allocations: 384 / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.425, allocations: 75.52 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.425, allocations: 3.938 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.425, allocations: 4 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.425, allocations: 4 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.4251, allocations: 15.98 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.4255, allocations: 280.9 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.4257, allocations: 70.62 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.4258, allocations: 28.97 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.4258, allocations: 0 / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.426, allocations: 67.39 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.426, allocations: 0 / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006517/0.4267, allocations: 217.1 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.4267, allocations: 77.11 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.4269, allocations: 166.9 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.427, allocations: 29.7 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.427, allocations: 96.12 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.4271, allocations: 35.73 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.4271, allocations: 25.66 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4273, allocations: 330.8 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.4273, allocations: 27.98 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.009e-05/0.4274, allocations: 58.55 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.4276, allocations: 81.58 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4276, allocations: 0 / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000232/0.4278, allocations: 117.6 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4278, allocations: 8 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4278, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4278, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.428, allocations: 19.98 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.428, allocations: 12 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.428, allocations: 0 / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.428, allocations: 11.94 kB / 0.566 GB, free: 14.47 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 (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.0001327/0.4282, allocations: 121.8 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.4282, allocations: 11.91 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.4285, allocations: 130.2 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4285, allocations: 4 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4285, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4285, allocations: 4 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.429, allocations: 435.1 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.429, allocations: 3.984 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.4291, allocations: 8 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4291, allocations: 3.938 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4291, allocations: 8.281 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4291, allocations: 0 / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4291, allocations: 4 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.4294, allocations: 220.2 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.4294, allocations: 93.02 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.4295, allocations: 7.938 kB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.4295, allocations: 3.984 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.4296, allocations: 8 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.4296, allocations: 7.984 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.4297, allocations: 135.2 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4297, allocations: 4 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.4301, allocations: 51.86 kB / 0.5672 GB, free: 13.12 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 (10): * Single equations (assignments): 8 * 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.002526/0.4326, allocations: 1.195 MB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.4328, allocations: 83.89 kB / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4328, allocations: 0 / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.4329, allocations: 32.05 kB / 0.5685 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.4333, allocations: 31.36 kB / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.4353, allocations: 1.676 MB / 0.5702 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.4357, allocations: 0.7084 MB / 0.5709 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.303e-05/0.4357, allocations: 36.39 kB / 0.5709 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.4358, allocations: 31.42 kB / 0.5709 GB, free: 9.391 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4358, allocations: 0 / 0.5709 GB, free: 9.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.4631, allocations: 4.282 MB / 0.5751 GB, free: 5.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.566, allocations: 8.062 kB / 0.5751 GB, free: 5.078 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.52306910417974] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.69042563997209 8.705244117 8.278737601 Calling exit ...