Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001273/0.001273, 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.001522/0.001522, 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.379/1.379, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2224/0.2224, allocations: 46.94 MB / 361.6 MB, free: 4.02 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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 79.88 kB / 0.497 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3251, allocations: 66.08 MB / 0.5615 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003059/0.3281, allocations: 1.706 MB / 0.5632 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3298, allocations: 0.967 MB / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.3299, allocations: 0 / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.3302, allocations: 51.77 kB / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.3305, allocations: 95.59 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3307, allocations: 83.66 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3308, allocations: 107.6 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.331, allocations: 9.953 kB / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.624e-05/0.331, allocations: 43.78 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.523e-05/0.3311, allocations: 31.8 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.3311, allocations: 4 kB / 0.5645 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3312, allocations: 55.97 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.3313, allocations: 19.91 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.3314, allocations: 27.81 kB / 0.5646 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.3316, allocations: 131.3 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3316, allocations: 0 / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3316, allocations: 0 / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3316, 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.000556/0.3322, allocations: 349.5 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3322, allocations: 12.03 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.189e-05/0.3322, allocations: 192 / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.3322, allocations: 38.73 kB / 0.5651 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.3323, allocations: 8.891 kB / 0.5651 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.3326, allocations: 162.3 kB / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3326, allocations: 4.375 kB / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.3326, allocations: 384 / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3328, allocations: 65.55 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3328, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3328, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.3328, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.3329, allocations: 23.98 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.3333, allocations: 263.9 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3335, allocations: 54.62 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.3335, allocations: 20.84 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3335, allocations: 4 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.3337, allocations: 63.39 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3337, allocations: 3.938 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005646/0.3343, allocations: 193.6 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.3343, allocations: 59.41 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3345, allocations: 222.2 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3345, allocations: 25.7 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.3346, allocations: 108.1 kB / 0.5664 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.3347, allocations: 23.84 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.3347, allocations: 17.72 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3349, allocations: 330.8 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.3349, allocations: 20.05 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.335, allocations: 49.64 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3351, allocations: 57.7 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3351, allocations: 4 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002024/0.3353, allocations: 113.5 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.3353, allocations: 4.188 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.3353, allocations: 0 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3353, allocations: 3.938 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.3354, allocations: 16 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3354, allocations: 0 / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.3355, allocations: 7.922 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3355, allocations: 11.94 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.0001208/0.3356, allocations: 136.2 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.3356, allocations: 11.91 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.3359, allocations: 131.1 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3359, allocations: 0 / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.3359, allocations: 0 / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3359, allocations: 0 / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.3364, allocations: 370.4 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3364, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.3364, allocations: 12 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3364, allocations: 4.031 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3364, allocations: 7.922 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3364, allocations: 4 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3364, allocations: 0 / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3367, allocations: 216.2 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.3367, allocations: 7.953 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3367, allocations: 7.875 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.3368, allocations: 11.98 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3369, allocations: 0 / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3369, allocations: 7.984 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.337, allocations: 160.3 kB / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.337, allocations: 4 kB / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3373, allocations: 24 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.002298/0.3396, allocations: 1.138 MB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.3398, allocations: 55.91 kB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3398, allocations: 0 / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.3399, allocations: 35.92 kB / 0.5693 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.0003416/0.3402, allocations: 23.98 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.002033/0.3422, allocations: 1.697 MB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.3423, allocations: 96.73 kB / 0.571 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.3424, allocations: 24.88 kB / 0.571 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.3425, allocations: 39.42 kB / 0.5711 GB, free: 9.918 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3425, allocations: 0 / 0.5711 GB, free: 9.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.3652, allocations: 3.853 MB / 0.5748 GB, free: 6.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.01, allocations: 19.92 kB / 0.5749 GB, free: 6.082 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.85055127297528] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.217121002962813 11.232836236 10.898183159 Calling exit ...