Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001379/0.001379, 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.002003/0.002003, allocations: 217 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.421/1.421, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2197/0.2197, allocations: 46.91 MB / 361.6 MB, free: 4.164 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 71.88 kB / 0.497 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3042, allocations: 66.09 MB / 0.5616 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003128/0.3073, allocations: 1.768 MB / 0.5633 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3089, allocations: 1.053 MB / 0.5643 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.309, allocations: 3.938 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.3093, allocations: 87.69 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.3096, allocations: 111.6 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.3098, allocations: 83.66 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.31, allocations: 123.6 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3101, allocations: 21.8 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3102, allocations: 55.77 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3103, allocations: 63.75 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3104, allocations: 8 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3105, allocations: 59.97 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.3105, allocations: 23.91 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.3106, allocations: 47.62 kB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3108, allocations: 135.5 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3108, allocations: 0 / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3109, allocations: 0 / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3109, allocations: 4 kB / 0.5651 GB, free: 0.582 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005153/0.3114, allocations: 369.3 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3114, allocations: 16.02 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.352e-05/0.3114, allocations: 192 / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.3115, allocations: 34.75 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.3115, allocations: 16.84 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3118, allocations: 154.2 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3118, allocations: 4.359 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3118, allocations: 8.375 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3119, allocations: 65.59 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.312, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.312, allocations: 4 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.312, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.312, allocations: 23.98 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.3124, allocations: 275.8 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.3126, allocations: 66.48 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.3127, allocations: 16.98 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3127, allocations: 0 / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.3129, allocations: 75.31 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3129, allocations: 0 / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007006/0.3136, allocations: 241.3 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3136, allocations: 55.41 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.3138, allocations: 227.4 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.3139, allocations: 29.7 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.3139, allocations: 108.1 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.314, allocations: 31.73 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.314, allocations: 29.7 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3141, allocations: 330.8 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.3142, allocations: 27.98 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.3143, allocations: 45.7 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.3145, allocations: 81.64 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3145, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002235/0.3147, allocations: 121.5 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3147, allocations: 11.97 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3147, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3147, allocations: 7.984 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.3148, allocations: 20 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3148, allocations: 7.938 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.3149, allocations: 7.984 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3149, allocations: 4 kB / 0.5675 GB, free: 13.9 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 (13): * Single equations (assignments): 13 * 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.0001124/0.315, allocations: 137.2 kB / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.315, allocations: 11.91 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.3153, allocations: 163.6 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3153, allocations: 0 / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3153, allocations: 3.938 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3153, allocations: 0 / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.3158, allocations: 423.2 kB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3158, allocations: 3.938 kB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.3159, allocations: 12 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3159, allocations: 4.062 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3159, allocations: 7.984 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3159, allocations: 96 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.3159, allocations: 7.922 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3162, allocations: 237.4 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.3162, allocations: 23.78 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3162, allocations: 3.984 kB / 0.5685 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.3163, allocations: 8 kB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.3163, allocations: 7.984 kB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3164, allocations: 4 kB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.3165, allocations: 169.1 kB / 0.5687 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3165, allocations: 0 / 0.5687 GB, free: 12.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3168, allocations: 31.92 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002337/0.3191, allocations: 1.165 MB / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.3193, allocations: 79.84 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3193, allocations: 4.062 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.3194, allocations: 35.92 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3198, allocations: 31.73 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.322, allocations: 1.825 MB / 0.5718 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.3224, allocations: 0.7119 MB / 0.5725 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.484e-05/0.3224, allocations: 20.62 kB / 0.5725 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.3225, allocations: 47.41 kB / 0.5726 GB, free: 8.684 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3225, allocations: 4 kB / 0.5726 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.347, allocations: 4.102 MB / 0.5766 GB, free: 4.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.95, allocations: 17.2 kB / 0.5766 GB, free: 4.625 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.814452116028406] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 11.16909687302541 11.184946341 10.870833608 Calling exit ...