Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001547/0.001547, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001685/0.001685, allocations: 217 kB / 24.53 MB, free: 4.008 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.408/1.408, allocations: 230.5 MB / 258.2 MB, free: 8 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.2152/0.2152, allocations: 46.92 MB / 361.6 MB, free: 4.27 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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 75.88 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3059, allocations: 66.09 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003059/0.3089, allocations: 1.737 MB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3105, allocations: 1.051 MB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.3106, allocations: 7.938 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.3109, allocations: 83.69 kB / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.3112, allocations: 111.6 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3114, allocations: 83.66 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3116, allocations: 119.7 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.303e-05/0.3117, allocations: 5.828 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3118, allocations: 63.7 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3119, allocations: 63.81 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3119, allocations: 4 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.312, allocations: 47.97 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.312, allocations: 23.86 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.3121, allocations: 43.67 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3123, allocations: 115.5 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3123, allocations: 0 / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3123, allocations: 0 / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3123, allocations: 0 / 0.565 GB, free: 0.7227 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.0004974/0.3128, allocations: 361.5 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3128, allocations: 8.031 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.078e-05/0.3129, allocations: 192 / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.3129, allocations: 38.75 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.3129, allocations: 16.83 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3132, allocations: 166.2 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3132, allocations: 4.375 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3132, allocations: 384 / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3134, allocations: 61.61 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3134, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.3134, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3134, allocations: 4 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.3135, allocations: 16.06 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.3138, allocations: 267.9 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.314, allocations: 58.67 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.3141, allocations: 20.84 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3141, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.3142, allocations: 67.33 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.3142, allocations: 0 / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005375/0.3148, allocations: 181.3 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3148, allocations: 55.34 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.315, allocations: 227.5 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3151, allocations: 29.7 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.3151, allocations: 104.1 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.3152, allocations: 31.72 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.3152, allocations: 21.72 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3154, allocations: 330.8 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.3154, allocations: 23.98 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/0.3155, allocations: 33.7 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3156, allocations: 62.02 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3156, allocations: 4 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.3158, allocations: 97.58 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3158, allocations: 8 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3158, allocations: 8.031 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3158, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.3159, allocations: 19.92 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3159, allocations: 4.156 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.316, allocations: 4 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.316, allocations: 7.938 kB / 0.5673 GB, free: 14.21 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.0001085/0.3161, allocations: 133.8 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3161, allocations: 15.89 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.3164, allocations: 123 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3164, allocations: 0 / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3164, allocations: 0 / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3164, allocations: 0 / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.3169, allocations: 374.3 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3169, allocations: 4 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.3169, allocations: 8 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3169, allocations: 0 / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3169, allocations: 3.938 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3169, allocations: 4.031 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3169, allocations: 4 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3172, allocations: 204.3 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.3172, allocations: 7.953 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.3172, allocations: 11.81 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.3173, allocations: 4 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3173, allocations: 15.98 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3173, allocations: 0 / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.3175, allocations: 173.1 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3175, allocations: 0 / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3177, allocations: 32.08 kB / 0.5683 GB, free: 13.02 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.00209/0.3198, allocations: 1.083 MB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.32, allocations: 51.97 kB / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.32, allocations: 4.062 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-05/0.3201, allocations: 31.92 kB / 0.5695 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.0003589/0.3204, allocations: 39.61 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3224, allocations: 1.711 MB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3228, allocations: 0.7119 MB / 0.5719 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.3228, allocations: 17.28 kB / 0.5719 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.3229, allocations: 39.42 kB / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3229, allocations: 0 / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.345, allocations: 3.76 MB / 0.5756 GB, free: 5.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.89, allocations: 10.19 kB / 0.5756 GB, free: 5.648 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.766774807008915] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.093393235991243 11.108214987 10.792888557 Calling exit ...