Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001261/0.001261, 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.001506/0.001506, 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.406/1.406, 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.2204/0.2204, allocations: 46.94 MB / 361.6 MB, free: 3.93 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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 71.88 kB / 0.497 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3155, allocations: 66.09 MB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003047/0.3185, allocations: 1.71 MB / 0.5632 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3201, allocations: 0.967 MB / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.3202, allocations: 0 / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.3205, allocations: 47.77 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.3207, allocations: 95.59 kB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3209, allocations: 75.67 kB / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3211, allocations: 119.6 kB / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.427e-05/0.3212, allocations: 9.828 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.3213, allocations: 43.78 kB / 0.5645 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.3213, allocations: 27.84 kB / 0.5645 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3214, allocations: 7.938 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-05/0.3214, allocations: 43.98 kB / 0.5646 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.3215, allocations: 23.92 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.3216, allocations: 35.73 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.3218, allocations: 119.5 kB / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3218, allocations: 0 / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3218, allocations: 4 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.3218, allocations: 0 / 0.5647 GB, free: 0.6719 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.0005132/0.3223, allocations: 353.5 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3223, allocations: 8.031 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.163e-05/0.3223, allocations: 4.188 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.3224, allocations: 34.75 kB / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.3224, allocations: 8.891 kB / 0.5651 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3227, allocations: 158.3 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3227, allocations: 12.31 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.3227, allocations: 4.359 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3229, allocations: 65.61 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3229, allocations: 0 / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3229, allocations: 4 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3229, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.323, allocations: 19.98 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.3234, allocations: 255.9 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3235, allocations: 66.59 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.3236, allocations: 24.78 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.3236, allocations: 0 / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3238, allocations: 71.39 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3238, allocations: 0 / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005566/0.3243, allocations: 185.3 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3244, allocations: 59.41 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.3246, allocations: 218.2 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3246, allocations: 29.7 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.3247, allocations: 108.1 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.3247, allocations: 15.86 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.3247, allocations: 25.7 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3249, allocations: 330.8 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.325, allocations: 23.94 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.325, allocations: 37.7 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3252, allocations: 65.69 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3252, allocations: 3.938 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.3253, allocations: 105.5 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3254, allocations: 4 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3254, allocations: 0 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3254, allocations: 0 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.3255, allocations: 28.02 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3255, allocations: 0 / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.3255, allocations: 3.938 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3255, allocations: 7.938 kB / 0.567 GB, free: 14.17 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.0001086/0.3256, allocations: 136 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.3257, allocations: 11.91 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.3259, allocations: 127.1 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3259, allocations: 0 / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3259, allocations: 0 / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3259, allocations: 4 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.3264, allocations: 375 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3264, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.3265, allocations: 19.98 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3265, allocations: 3.938 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3265, allocations: 3.938 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3265, allocations: 4 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3265, allocations: 0 / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.3268, allocations: 216.2 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.3268, allocations: 11.95 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3268, allocations: 7.969 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.3269, allocations: 4 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.3269, allocations: 3.984 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.3269, allocations: 8 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.3271, allocations: 156.3 kB / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3271, allocations: 0 / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3273, allocations: 27.98 kB / 0.5681 GB, free: 12.98 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.002234/0.3296, allocations: 1.131 MB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.3298, allocations: 59.91 kB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3298, allocations: 0 / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.3298, allocations: 27.98 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3302, allocations: 32.09 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.332, allocations: 1.694 MB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.055e-05/0.3321, allocations: 100.9 kB / 0.571 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.933e-05/0.3322, allocations: 20.58 kB / 0.571 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.3323, allocations: 43.41 kB / 0.5711 GB, free: 9.918 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3323, allocations: 0 / 0.5711 GB, free: 9.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.355, allocations: 3.866 MB / 0.5749 GB, free: 6.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.02, allocations: 15.94 kB / 0.5749 GB, free: 6.074 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.908124160021544] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.233740833005868 11.250370133 10.92363379 Calling exit ...