Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001599/0.001599, 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.001388/0.001388, 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.416/1.416, allocations: 230.5 MB / 258.2 MB, free: 8 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.2328/0.2328, allocations: 46.95 MB / 361.6 MB, free: 3.992 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 79.86 kB / 0.497 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3075, allocations: 66.08 MB / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003073/0.3105, allocations: 1.706 MB / 0.5632 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3121, allocations: 0.9709 MB / 0.5641 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.3122, allocations: 4 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.3124, allocations: 47.77 kB / 0.5642 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.3127, allocations: 99.59 kB / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.3129, allocations: 83.66 kB / 0.5643 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.313, allocations: 107.6 kB / 0.5644 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.3131, allocations: 5.828 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.3132, allocations: 51.77 kB / 0.5645 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.3133, allocations: 31.8 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3133, allocations: 4 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.3134, allocations: 43.98 kB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.3134, allocations: 31.91 kB / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.3135, allocations: 39.67 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.3137, allocations: 135.4 kB / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3137, allocations: 0 / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3137, allocations: 0 / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3137, allocations: 0 / 0.5648 GB, free: 0.7148 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.0005103/0.3142, allocations: 377.2 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3142, allocations: 8.031 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.658e-05/0.3143, allocations: 8.125 kB / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.3143, allocations: 38.73 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.3143, allocations: 16.84 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.3146, allocations: 155.3 kB / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3146, allocations: 8.312 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.3146, allocations: 8.359 kB / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3148, allocations: 57.61 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3148, allocations: 4 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3148, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3148, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.3149, allocations: 19.98 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.3152, allocations: 275.8 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3154, allocations: 58.61 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.3155, allocations: 24.84 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.3155, allocations: 0 / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.3156, allocations: 67.39 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3156, allocations: 0 / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005509/0.3162, allocations: 189.3 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3162, allocations: 55.41 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.3165, allocations: 282.8 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3165, allocations: 25.7 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.3166, allocations: 116.1 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3167, allocations: 27.8 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.3167, allocations: 25.7 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3169, allocations: 330.8 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.3169, allocations: 24.3 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.317, allocations: 41.7 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.3171, allocations: 61.64 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3171, allocations: 4 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.3173, allocations: 113.5 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3173, allocations: 8.031 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3173, allocations: 0 / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3174, allocations: 4 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.3174, allocations: 15.98 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.3174, allocations: 0 / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.3175, allocations: 4 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.3175, allocations: 12.06 kB / 0.5671 GB, free: 14.09 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.0001197/0.3176, allocations: 133.8 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.3177, allocations: 23.83 kB / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3179, allocations: 131.1 kB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3179, allocations: 0 / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3179, allocations: 4 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3179, allocations: 0 / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.3184, allocations: 382.3 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3184, allocations: 0 / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.3185, allocations: 8 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3185, allocations: 4 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3185, allocations: 7.938 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3185, allocations: 0 / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3185, allocations: 4.031 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.3187, allocations: 220.2 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.3188, allocations: 11.91 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.3188, allocations: 7.938 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.3188, allocations: 4 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.3189, allocations: 7.984 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3189, allocations: 4 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.3191, allocations: 208.6 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3191, allocations: 0 / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.3193, allocations: 27.89 kB / 0.5683 GB, free: 12.82 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.002189/0.3215, allocations: 1.145 MB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.3217, allocations: 55.91 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3217, allocations: 4.062 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.3218, allocations: 31.98 kB / 0.5695 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3221, allocations: 30.92 kB / 0.5695 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.3241, allocations: 1.85 MB / 0.5713 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3242, allocations: 101.1 kB / 0.5714 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.948e-05/0.3243, allocations: 25.02 kB / 0.5714 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.3244, allocations: 47.41 kB / 0.5715 GB, free: 9.59 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3244, allocations: 0 / 0.5715 GB, free: 9.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.3471, allocations: 4.151 MB / 0.5755 GB, free: 5.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.1, allocations: 8 kB / 0.5755 GB, free: 5.465 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.033023679046892] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.320113127934746 11.344022615 11.025844369 Calling exit ...