Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.0017/0.0017, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002291/0.002291, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.93 MB / 361.6 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 75.88 kB / 0.497 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3155, allocations: 66.09 MB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003039/0.3186, allocations: 1.692 MB / 0.5632 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3202, allocations: 1.029 MB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.3203, allocations: 4 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.3206, allocations: 51.75 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.3208, allocations: 103.6 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.321, allocations: 71.69 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.3212, allocations: 103.7 kB / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.3212, allocations: 4.234 kB / 0.5645 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3213, allocations: 51.72 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.3214, allocations: 31.78 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3214, allocations: 4 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.319e-05/0.3215, allocations: 27.98 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.3216, allocations: 31.91 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.3216, allocations: 35.69 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3218, allocations: 125.4 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3218, allocations: 0 / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3218, allocations: 3.938 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3218, allocations: 0 / 0.5648 GB, free: 0.875 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005419/0.3224, allocations: 373.3 kB / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3224, allocations: 12.03 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.037e-05/0.3224, allocations: 192 / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.3225, allocations: 38.72 kB / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3225, allocations: 16.89 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.3228, allocations: 159.2 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3228, allocations: 4.375 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3228, allocations: 384 / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3229, allocations: 53.55 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3229, allocations: 4 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3229, allocations: 3.938 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3229, allocations: 0 / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.323, allocations: 15.98 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.3232, allocations: 168.8 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3234, allocations: 42.62 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.3234, allocations: 20.84 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3234, allocations: 3.938 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.3236, allocations: 79.33 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3236, allocations: 0 / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002766/0.3239, allocations: 97.58 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3239, allocations: 51.41 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.3242, allocations: 270.8 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3242, allocations: 25.7 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.3243, allocations: 112.1 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3243, allocations: 23.83 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.3244, allocations: 25.62 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3245, allocations: 326.8 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.3246, allocations: 15.98 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.3246, allocations: 29.7 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.3247, allocations: 41.72 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3247, allocations: 0 / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001675/0.3249, allocations: 97.45 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3249, allocations: 4 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3249, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3249, allocations: 7.938 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.325, allocations: 8 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.325, allocations: 0 / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.3251, allocations: 11.94 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3251, allocations: 0 / 0.5669 GB, free: 14.56 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 (7): * Single equations (assignments): 7 * 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.0001272/0.3252, allocations: 143.1 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3252, allocations: 19.84 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.3254, allocations: 86.77 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3254, allocations: 384 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3254, allocations: 4 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3254, allocations: 0 / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.3256, allocations: 172.6 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3256, allocations: 0 / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.3256, allocations: 7.984 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3256, allocations: 0 / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3256, allocations: 4 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3256, allocations: 4 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3256, allocations: 0 / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.3258, allocations: 128.8 kB / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.3259, allocations: 11.91 kB / 0.5674 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3259, allocations: 4 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.3259, allocations: 0 / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.326, allocations: 11.98 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.326, allocations: 4 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3262, allocations: 204.6 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3262, allocations: 0 / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.3264, allocations: 19.94 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001905/0.3283, allocations: 0.959 MB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.3284, allocations: 31.98 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3284, allocations: 0 / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.3285, allocations: 23.92 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.3288, allocations: 31.91 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3307, allocations: 1.682 MB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3311, allocations: 0.7235 MB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.292e-05/0.3311, allocations: 12.48 kB / 0.5711 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.3312, allocations: 35.42 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3312, allocations: 0 / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3544, allocations: 3.674 MB / 0.5747 GB, free: 6.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.01, allocations: 6.438 kB / 0.5747 GB, free: 6.547 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.948112775979098] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.211932040983811 11.226641751 10.901910398 Calling exit ...