Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.001275/0.001275, 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.001681/0.001681, allocations: 214.8 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.427/1.427, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2231/0.2231, allocations: 46.95 MB / 361.6 MB, free: 3.941 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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 75.88 kB / 0.497 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3218, allocations: 66.08 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003091/0.3249, allocations: 1.698 MB / 0.5632 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3265, allocations: 0.9709 MB / 0.5641 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.3266, allocations: 4 kB / 0.5641 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.3268, allocations: 43.77 kB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.3271, allocations: 91.61 kB / 0.5642 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.3273, allocations: 79.66 kB / 0.5643 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3275, allocations: 103.6 kB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3276, allocations: 17.8 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.164e-05/0.3277, allocations: 39.8 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.3278, allocations: 31.8 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3278, allocations: 4 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3279, allocations: 47.97 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.3279, allocations: 27.92 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.328, allocations: 31.73 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.3282, allocations: 111.5 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3282, allocations: 0 / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3282, allocations: 4 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3282, allocations: 0 / 0.5647 GB, free: 0.7305 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.0005213/0.3287, allocations: 337.6 kB / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3288, allocations: 12.03 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.367e-05/0.3288, allocations: 192 / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.3288, allocations: 34.75 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.3288, allocations: 16.84 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3291, allocations: 155.6 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3291, allocations: 4.312 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3291, allocations: 4.375 kB / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.3293, allocations: 57.61 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3293, allocations: 0 / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3293, allocations: 3.984 kB / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3293, allocations: 7.938 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.3294, allocations: 23.98 kB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.3298, allocations: 252 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3299, allocations: 58.61 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.33, allocations: 16.86 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.33, allocations: 4 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.3302, allocations: 67.38 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3302, allocations: 7.938 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005659/0.3307, allocations: 185.3 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3308, allocations: 59.41 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.331, allocations: 183.3 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.331, allocations: 33.7 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3311, allocations: 100.1 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3311, allocations: 19.84 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.3311, allocations: 25.72 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3313, allocations: 326.8 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.3314, allocations: 27.92 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.3314, allocations: 37.7 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3316, allocations: 57.77 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3316, allocations: 4 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002024/0.3318, allocations: 113.5 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3318, allocations: 10.03 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3318, allocations: 0 / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3318, allocations: 0 / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.3319, allocations: 12.38 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3319, allocations: 4 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.3319, allocations: 7.922 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.332, allocations: 19.88 kB / 0.5669 GB, free: 14.28 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.0001059/0.3321, allocations: 117.8 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.3321, allocations: 11.98 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.3324, allocations: 126.9 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3324, allocations: 4 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3324, allocations: 0 / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3324, allocations: 0 / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.3329, allocations: 370.4 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3329, allocations: 0 / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.3329, allocations: 11.94 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3329, allocations: 288 / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.333, allocations: 11.97 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.333, allocations: 0 / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.333, allocations: 3.938 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.3332, allocations: 220.2 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.3333, allocations: 7.953 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3333, allocations: 3.938 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.3334, allocations: 4 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.3334, allocations: 11.98 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3334, allocations: 3.984 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3335, allocations: 144.9 kB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3335, allocations: 4 kB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3338, allocations: 20 kB / 0.5679 GB, free: 13.13 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 (9): * Single equations (assignments): 7 * 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.002231/0.336, allocations: 1.135 MB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3362, allocations: 67.84 kB / 0.5691 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3362, allocations: 4 kB / 0.5691 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.512e-05/0.3363, allocations: 23.98 kB / 0.5691 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3366, allocations: 23.98 kB / 0.5692 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.3386, allocations: 1.653 MB / 0.5708 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.856e-05/0.3387, allocations: 88.31 kB / 0.5709 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.3387, allocations: 17.28 kB / 0.5709 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.3388, allocations: 31.42 kB / 0.5709 GB, free: 10.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3388, allocations: 4 kB / 0.5709 GB, free: 10.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.3619, allocations: 3.764 MB / 0.5746 GB, free: 6.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.04, allocations: 6.75 kB / 0.5746 GB, free: 6.395 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.931968011078425] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.250110674998723 11.266394218 10.935204335 Calling exit ...