Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.00129/0.00129, 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.00142/0.00142, allocations: 212.7 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.432/1.432, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2262/0.2262, allocations: 46.93 MB / 361.6 MB, free: 3.949 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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 75.88 kB / 0.497 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3141, allocations: 66.09 MB / 0.5615 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002872/0.317, allocations: 1.663 MB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3186, allocations: 0.9538 MB / 0.5641 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.3187, allocations: 0 / 0.5641 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.319, allocations: 63.73 kB / 0.5641 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.3193, allocations: 103.6 kB / 0.5642 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.3195, allocations: 79.67 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.3197, allocations: 107.7 kB / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.3197, allocations: 240 / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.3198, allocations: 51.78 kB / 0.5644 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3199, allocations: 51.83 kB / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3199, allocations: 4 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-05/0.32, allocations: 35.92 kB / 0.5645 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.3201, allocations: 23.91 kB / 0.5646 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.3201, allocations: 27.8 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.3203, allocations: 101.4 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3203, allocations: 0 / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3203, allocations: 0 / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3204, allocations: 3.938 kB / 0.5647 GB, free: 0.7266 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.000561/0.3209, allocations: 349.6 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3209, allocations: 8.031 kB / 0.565 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.321, allocations: 4.125 kB / 0.565 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.321, allocations: 34.75 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.321, allocations: 12.84 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3213, allocations: 151 kB / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3213, allocations: 384 / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.3213, allocations: 384 / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3215, allocations: 53.61 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3215, allocations: 0 / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3215, allocations: 4 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3215, allocations: 0 / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.319e-05/0.3216, allocations: 23.92 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.3218, allocations: 156.7 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.322, allocations: 46.62 kB / 0.5655 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.322, allocations: 20.84 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.322, allocations: 7.938 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.3222, allocations: 63.39 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3222, allocations: 4 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003007/0.3225, allocations: 105.5 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3225, allocations: 55.41 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3227, allocations: 198.3 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3227, allocations: 29.7 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3228, allocations: 100.1 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.3228, allocations: 19.84 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.3229, allocations: 17.72 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.323, allocations: 322.8 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.3231, allocations: 15.98 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.3231, allocations: 37.7 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.3232, allocations: 49.64 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3232, allocations: 256 / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.3234, allocations: 93.47 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3234, allocations: 5.875 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3234, allocations: 3.938 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.3234, allocations: 0 / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.3235, allocations: 11.98 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3235, allocations: 4 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.3236, allocations: 4.031 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3236, allocations: 4 kB / 0.5666 GB, free: 14.55 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.0001199/0.3237, allocations: 127.1 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3237, allocations: 11.89 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.3239, allocations: 98.64 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3239, allocations: 7.984 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3239, allocations: 0 / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3239, allocations: 0 / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.3241, allocations: 156.6 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3241, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.3241, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.3241, allocations: 4 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3241, allocations: 3.984 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3241, allocations: 0 / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3241, allocations: 0 / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.3243, allocations: 129 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.3243, allocations: 11.89 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3244, allocations: 4 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.3244, allocations: 0 / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3244, allocations: 8.172 kB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3244, allocations: 12 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.3246, allocations: 148.2 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3246, allocations: 0 / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.3248, allocations: 19.94 kB / 0.5673 GB, free: 13.73 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.002022/0.3268, allocations: 0.9774 MB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.327, allocations: 43.92 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.327, allocations: 0 / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.327, allocations: 24.17 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.3273, allocations: 28.11 kB / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.329, allocations: 1.526 MB / 0.5699 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.588e-05/0.3291, allocations: 93.19 kB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.3292, allocations: 16.47 kB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.3292, allocations: 39.42 kB / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3292, allocations: 0 / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.3526, allocations: 3.485 MB / 0.5734 GB, free: 7.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.02, allocations: 8.062 kB / 0.5734 GB, free: 7.547 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.967196016921662] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.22573274502065 11.24084881 10.917546657 Calling exit ...