Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001219/0.001219, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001501/0.001501, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.2175/0.2175, allocations: 46.95 MB / 361.6 MB, free: 3.957 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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 75.88 kB / 0.497 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3108, allocations: 66.08 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002951/0.3137, allocations: 1.702 MB / 0.5632 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3153, allocations: 0.9709 MB / 0.5641 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3154, allocations: 0 / 0.5641 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.3156, allocations: 43.78 kB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.3159, allocations: 95.59 kB / 0.5642 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.3161, allocations: 83.66 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3163, allocations: 103.6 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.3164, allocations: 9.953 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.817e-05/0.3164, allocations: 47.78 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.3165, allocations: 35.78 kB / 0.5645 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3165, allocations: 4 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.3166, allocations: 39.98 kB / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.3167, allocations: 27.91 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.3167, allocations: 31.75 kB / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3169, allocations: 119.5 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3169, allocations: 0 / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3169, allocations: 0 / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3169, allocations: 0 / 0.5647 GB, free: 0.7227 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.0004899/0.3174, allocations: 341.6 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3175, allocations: 11.97 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.3175, allocations: 8.188 kB / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.3175, allocations: 30.75 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.3175, allocations: 12.88 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3178, allocations: 159 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3178, allocations: 8.312 kB / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3178, allocations: 384 / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3179, allocations: 57.61 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3179, allocations: 4 kB / 0.5653 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.318, allocations: 0 / 0.5653 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.318, allocations: 0 / 0.5653 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.318, allocations: 23.98 kB / 0.5654 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.3184, allocations: 255.9 kB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3186, allocations: 70.59 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.3186, allocations: 20.84 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3186, allocations: 0 / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.3188, allocations: 67.39 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3188, allocations: 0 / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.3193, allocations: 189.3 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3194, allocations: 55.41 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.3196, allocations: 206.3 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3196, allocations: 29.7 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.3197, allocations: 108.1 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3197, allocations: 27.78 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.3197, allocations: 21.72 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3199, allocations: 326.8 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.3199, allocations: 27.92 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.32, allocations: 33.7 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3201, allocations: 61.7 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3201, allocations: 0 / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.3203, allocations: 113.5 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3203, allocations: 4 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3203, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3203, allocations: 4 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.3204, allocations: 12 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3204, allocations: 7.922 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.3205, allocations: 4 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3205, allocations: 11.88 kB / 0.5669 GB, free: 14.25 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.0001094/0.3206, allocations: 125.3 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.3206, allocations: 15.89 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.3209, allocations: 127 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3209, allocations: 0 / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3209, allocations: 0 / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3209, allocations: 0 / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.3214, allocations: 374.4 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3214, allocations: 384 / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.3214, allocations: 8 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.3214, allocations: 4 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3214, allocations: 11.92 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3214, allocations: 4.031 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3214, allocations: 0 / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3217, allocations: 216.5 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.3217, allocations: 11.95 kB / 0.5678 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3217, allocations: 7.938 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.3218, allocations: 3.984 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.3218, allocations: 4 kB / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3219, allocations: 11.98 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.322, allocations: 152.2 kB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.322, allocations: 0 / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3223, allocations: 23.94 kB / 0.568 GB, free: 13.08 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.002198/0.3245, allocations: 1.137 MB / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3247, allocations: 59.91 kB / 0.5692 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3247, allocations: 0 / 0.5692 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.3248, allocations: 31.98 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3251, allocations: 27.97 kB / 0.5692 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.3269, allocations: 1.67 MB / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.863e-05/0.327, allocations: 96.3 kB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.3271, allocations: 9.297 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.3271, allocations: 43.39 kB / 0.571 GB, free: 10.05 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3271, allocations: 0 / 0.571 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.3515, allocations: 3.811 MB / 0.5747 GB, free: 6.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.97, allocations: 12 kB / 0.5747 GB, free: 6.266 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.79988453804981] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.176085546961986 11.190455861 10.870588298 Calling exit ...