Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001228/0.001228, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001376/0.001376, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.382/1.382, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2162/0.2162, allocations: 46.95 MB / 361.6 MB, free: 3.934 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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 71.89 kB / 0.497 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3108, allocations: 66.08 MB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003077/0.3138, allocations: 1.714 MB / 0.5632 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3155, allocations: 0.9788 MB / 0.5641 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.3155, allocations: 11.88 kB / 0.5641 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3158, allocations: 27.84 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3161, allocations: 95.55 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.3162, allocations: 83.66 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3164, allocations: 111.6 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.3165, allocations: 25.78 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.3166, allocations: 43.8 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.3167, allocations: 47.77 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3167, allocations: 4 kB / 0.5646 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.3169, allocations: 107.9 kB / 0.5647 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.3169, allocations: 23.86 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.317, allocations: 31.8 kB / 0.5647 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.3173, allocations: 171.4 kB / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3173, allocations: 0 / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3173, allocations: 0 / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3173, allocations: 0 / 0.5649 GB, free: 0.5273 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.0005301/0.3178, allocations: 365.4 kB / 0.5652 GB, free: 144 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3179, allocations: 15.97 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.3179, allocations: 192 / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.3179, allocations: 34.75 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.3179, allocations: 20.81 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.3182, allocations: 146.4 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3182, allocations: 4.375 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3182, allocations: 4.359 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3184, allocations: 97.03 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3184, allocations: 0 / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3184, allocations: 12 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3184, allocations: 4 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.723e-05/0.3185, allocations: 23.92 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.3189, allocations: 244 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.319, allocations: 62.61 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.3191, allocations: 32.91 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3191, allocations: 0 / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3193, allocations: 71.38 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3193, allocations: 4 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005975/0.3199, allocations: 213.3 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3199, allocations: 81.11 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3201, allocations: 174.1 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3201, allocations: 25.8 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.3202, allocations: 100.1 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.3202, allocations: 31.73 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3203, allocations: 33.7 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3204, allocations: 322.8 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.3205, allocations: 39.92 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3206, allocations: 80.27 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.3207, allocations: 77.69 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3208, allocations: 0 / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000238/0.321, allocations: 125.5 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.321, allocations: 4 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.321, allocations: 0 / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.321, allocations: 4 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3211, allocations: 23.98 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3211, allocations: 4.531 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.3212, allocations: 7.938 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3212, allocations: 7.938 kB / 0.5673 GB, free: 13.84 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.0001126/0.3213, allocations: 121.8 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3213, allocations: 15.91 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.3216, allocations: 142.3 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3216, allocations: 0 / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3216, allocations: 0 / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3216, allocations: 3.938 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.3222, allocations: 402.3 kB / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3222, allocations: 0 / 0.5679 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.3222, allocations: 12 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3222, allocations: 3.938 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3222, allocations: 3.984 kB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3222, allocations: 7.938 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3222, allocations: 0 / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3225, allocations: 224.5 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.3225, allocations: 23.83 kB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.3226, allocations: 4 kB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.3227, allocations: 8.031 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.3227, allocations: 7.984 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.3227, allocations: 4.094 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.3228, allocations: 139 kB / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3228, allocations: 0 / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.3231, allocations: 55.86 kB / 0.5684 GB, free: 12.6 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 (11): * Single equations (assignments): 9 * 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.002504/0.3256, allocations: 1.243 MB / 0.5696 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.3259, allocations: 75.84 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3259, allocations: 4 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.248e-05/0.326, allocations: 39.91 kB / 0.5697 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3263, allocations: 27.97 kB / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3282, allocations: 1.694 MB / 0.5714 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.502e-05/0.3283, allocations: 93.19 kB / 0.5715 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.364e-05/0.3283, allocations: 24.64 kB / 0.5715 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.3284, allocations: 35.42 kB / 0.5716 GB, free: 9.438 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3284, allocations: 4 kB / 0.5716 GB, free: 9.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.3524, allocations: 4.625 MB / 0.5761 GB, free: 4.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.09, allocations: 7.938 kB / 0.5761 GB, free: 4.82 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.93296221201308] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.301963872974738 11.316904888 10.99661345 Calling exit ...