Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001551/0.001551, 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.001526/0.001526, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2222/0.2222, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 80.06 kB / 0.497 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3196, allocations: 66.08 MB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003072/0.3227, allocations: 1.737 MB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.3255, allocations: 1.742 MB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3256, allocations: 3.938 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.3259, allocations: 31.83 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.3263, allocations: 99.53 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3266, allocations: 79.67 kB / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3268, allocations: 115.6 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3269, allocations: 9.828 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.327, allocations: 55.77 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.3272, allocations: 39.84 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3272, allocations: 4 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.3275, allocations: 111.9 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.3275, allocations: 23.91 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.3276, allocations: 31.75 kB / 0.5656 GB, free: 172 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.3279, allocations: 167.4 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3279, allocations: 0 / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3279, allocations: 0 / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.328, allocations: 4 kB / 0.5657 GB, free: 0 / 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.0007313/0.3287, allocations: 353.6 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.3287, allocations: 8.031 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.581e-05/0.3288, allocations: 12.17 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.3288, allocations: 30.75 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.3289, allocations: 12.84 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3292, allocations: 154.7 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3292, allocations: 16.09 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3292, allocations: 4 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3294, allocations: 71.33 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3294, allocations: 4 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3294, allocations: 0 / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3294, allocations: 0 / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.3295, allocations: 19.98 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.3299, allocations: 259.9 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.33, allocations: 58.61 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.3301, allocations: 20.84 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3301, allocations: 3.938 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.3303, allocations: 71.39 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3303, allocations: 0 / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005402/0.3308, allocations: 169.6 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.3309, allocations: 77.11 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3311, allocations: 170.4 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.3311, allocations: 25.7 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.3312, allocations: 96.14 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.3313, allocations: 35.72 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3313, allocations: 25.72 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3315, allocations: 318.8 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.3315, allocations: 23.98 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.3316, allocations: 46.62 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3317, allocations: 57.7 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3317, allocations: 0 / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002506/0.332, allocations: 105.6 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.332, allocations: 4 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.332, allocations: 0 / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.332, allocations: 0 / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.3321, allocations: 19.98 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3321, allocations: 3.938 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.3322, allocations: 4 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3322, allocations: 4 kB / 0.5679 GB, free: 13.54 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.000113/0.3323, allocations: 131.1 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3323, allocations: 11.89 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.3326, allocations: 106.4 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3326, allocations: 3.984 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3326, allocations: 3.938 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3326, allocations: 4 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.3331, allocations: 366.4 kB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3331, allocations: 4.031 kB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.3331, allocations: 8 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.3331, allocations: 3.938 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3331, allocations: 4 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3331, allocations: 3.938 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3332, allocations: 0 / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3334, allocations: 204.8 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.3334, allocations: 19.88 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.3335, allocations: 3.938 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.3335, allocations: 8 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.3336, allocations: 7.984 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3336, allocations: 4 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.3337, allocations: 127.9 kB / 0.5689 GB, free: 12.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3337, allocations: 0 / 0.5689 GB, free: 12.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.334, allocations: 43.86 kB / 0.5689 GB, free: 12.4 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.002474/0.3365, allocations: 1.19 MB / 0.5701 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.3367, allocations: 63.91 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.3367, allocations: 4 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.3368, allocations: 27.92 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3371, allocations: 27.97 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.339, allocations: 1.589 MB / 0.5718 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3394, allocations: 0.7001 MB / 0.5724 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.978e-05/0.3394, allocations: 17.28 kB / 0.5725 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.3395, allocations: 43.41 kB / 0.5725 GB, free: 8.781 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3395, allocations: 4 kB / 0.5725 GB, free: 8.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.3645, allocations: 4.221 MB / 0.5766 GB, free: 4.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.07, allocations: 23.86 kB / 0.5766 GB, free: 4.555 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.944371487013996] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.289324243029114 11.30683728 10.975691871 Calling exit ...