Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.001216/0.001216, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001345/0.001345, allocations: 205.4 kB / 24.51 MB, free: 3.945 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.404/1.404, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.2237/0.2237, allocations: 46.95 MB / 361.6 MB, free: 3.906 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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 71.89 kB / 0.497 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3118, allocations: 66.09 MB / 0.5615 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003266/0.3151, allocations: 1.663 MB / 0.5631 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.317, allocations: 0.9436 MB / 0.564 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.3171, allocations: 0 / 0.564 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.3174, allocations: 71.72 kB / 0.5641 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.3177, allocations: 107.6 kB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.3179, allocations: 75.69 kB / 0.5643 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.3181, allocations: 107.7 kB / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.3181, allocations: 240 / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.3182, allocations: 47.78 kB / 0.5644 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3183, allocations: 55.75 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3184, allocations: 4 kB / 0.5645 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-05/0.3184, allocations: 31.98 kB / 0.5645 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.3185, allocations: 27.91 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3186, allocations: 19.81 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3188, allocations: 117.3 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3188, allocations: 0 / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3188, allocations: 0 / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3188, allocations: 0 / 0.5647 GB, free: 0.7109 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.0005185/0.3193, allocations: 341.5 kB / 0.565 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3193, allocations: 8.031 kB / 0.565 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.763e-05/0.3194, allocations: 192 / 0.565 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.3194, allocations: 42.73 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.3194, allocations: 12.84 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.3197, allocations: 147.1 kB / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3197, allocations: 384 / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.3197, allocations: 384 / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3198, allocations: 57.61 kB / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3198, allocations: 0 / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3199, allocations: 0 / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.3199, allocations: 0 / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.793e-05/0.3199, allocations: 23.92 kB / 0.5653 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.3201, allocations: 156.7 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3203, allocations: 54.61 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.3204, allocations: 20.84 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3204, allocations: 7.938 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.3205, allocations: 71.31 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3205, allocations: 0 / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002839/0.3208, allocations: 93.62 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3209, allocations: 55.41 kB / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3211, allocations: 202.3 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3211, allocations: 29.69 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.3211, allocations: 104.1 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3212, allocations: 19.83 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3212, allocations: 17.72 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3214, allocations: 326.8 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.3214, allocations: 15.98 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.3215, allocations: 29.66 kB / 0.5664 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.3216, allocations: 45.7 kB / 0.5665 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3216, allocations: 0 / 0.5665 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001703/0.3218, allocations: 93.45 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3218, allocations: 8 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3218, allocations: 0 / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3218, allocations: 3.938 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.3219, allocations: 12 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3219, allocations: 4 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.3219, allocations: 3.984 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3219, allocations: 7.938 kB / 0.5666 GB, free: 14.53 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 9.831e-05/0.322, allocations: 121.4 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3221, allocations: 11.89 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.3223, allocations: 107 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3223, allocations: 0 / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3223, allocations: 4.062 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3223, allocations: 4 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.3224, allocations: 160.6 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3224, allocations: 0 / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.3225, allocations: 4 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3225, allocations: 0 / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3225, allocations: 4 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3225, allocations: 0 / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3225, allocations: 4.156 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.3227, allocations: 125 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.3227, allocations: 7.906 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.3227, allocations: 11.98 kB / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.3228, allocations: 0 / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3228, allocations: 4 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.3228, allocations: 3.984 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.323, allocations: 148.2 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.323, allocations: 0 / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.3232, allocations: 23.92 kB / 0.5673 GB, free: 13.72 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 (6): * Single equations (assignments): 4 * 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.001951/0.3252, allocations: 0.9873 MB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.3253, allocations: 35.98 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3253, allocations: 0 / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.3254, allocations: 27.92 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3257, allocations: 34.48 kB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3274, allocations: 1.522 MB / 0.5699 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.893e-05/0.3275, allocations: 101.2 kB / 0.57 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.343e-05/0.3275, allocations: 8.5 kB / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.3276, allocations: 35.42 kB / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3276, allocations: 0 / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.3505, allocations: 3.483 MB / 0.5734 GB, free: 7.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.04, allocations: 12.05 kB / 0.5734 GB, free: 7.531 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.896170228952542] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.25220841600094 11.268296846 10.946443449 Calling exit ...