Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001481/0.001481, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001713/0.001713, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.399/1.399, allocations: 230.5 MB / 258.2 MB, free: 7.75 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.2203/0.2203, allocations: 46.95 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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 83.88 kB / 0.497 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 66.08 MB / 0.5615 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003076/0.319, allocations: 1.705 MB / 0.5632 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3206, allocations: 0.9749 MB / 0.5641 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.3207, allocations: 0 / 0.5641 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.321, allocations: 47.75 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.3212, allocations: 99.61 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.3214, allocations: 79.67 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3216, allocations: 103.6 kB / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.3217, allocations: 9.828 kB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.501e-05/0.3218, allocations: 47.77 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.3219, allocations: 31.8 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3219, allocations: 4 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.529e-05/0.322, allocations: 43.97 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.322, allocations: 23.92 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.3221, allocations: 31.73 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.3223, allocations: 123.5 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3223, allocations: 4 kB / 0.5647 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3223, allocations: 0 / 0.5647 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3223, allocations: 4 kB / 0.5647 GB, free: 0.6641 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.000533/0.3228, allocations: 349.5 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3229, allocations: 8.031 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.275e-05/0.3229, allocations: 4.188 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.3229, allocations: 34.75 kB / 0.5651 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.323, allocations: 8.891 kB / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3232, allocations: 170.2 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3232, allocations: 8.359 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.3232, allocations: 4.375 kB / 0.5653 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3234, allocations: 57.61 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3234, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3234, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3234, allocations: 4 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.3235, allocations: 15.98 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.3239, allocations: 259.9 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.324, allocations: 62.61 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.145e-05/0.3241, allocations: 24.84 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.3241, allocations: 0 / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.3243, allocations: 67.39 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3243, allocations: 0 / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005473/0.3248, allocations: 193.2 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3249, allocations: 55.41 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.3251, allocations: 222.2 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3251, allocations: 29.7 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.3252, allocations: 104.1 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3252, allocations: 27.8 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.3253, allocations: 29.64 kB / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3254, allocations: 330.7 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.3255, allocations: 23.98 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.3255, allocations: 33.7 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3257, allocations: 61.7 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3257, allocations: 0 / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.3259, allocations: 109.9 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3259, allocations: 4 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3259, allocations: 8.031 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3259, allocations: 0 / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.326, allocations: 19.98 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.326, allocations: 0 / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.326, allocations: 11.88 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.326, allocations: 7.938 kB / 0.567 GB, free: 14.15 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.0001081/0.3261, allocations: 125.8 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.3262, allocations: 15.91 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.3264, allocations: 119 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3264, allocations: 8 kB / 0.5672 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3264, allocations: 0 / 0.5672 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3265, allocations: 3.984 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.3269, allocations: 374.4 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3269, allocations: 0 / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.327, allocations: 8 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.327, allocations: 0 / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.327, allocations: 7.938 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.327, allocations: 0 / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.327, allocations: 0 / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3273, allocations: 228.5 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.3273, allocations: 7.953 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3273, allocations: 7.938 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.3274, allocations: 0 / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.3274, allocations: 11.98 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3274, allocations: 4 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.3276, allocations: 160.3 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3276, allocations: 0 / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3279, allocations: 23.94 kB / 0.568 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.002281/0.3301, allocations: 1.138 MB / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.3303, allocations: 59.92 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3303, allocations: 0 / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.3304, allocations: 28.05 kB / 0.5692 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3307, allocations: 34.64 kB / 0.5693 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.3327, allocations: 1.69 MB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3328, allocations: 100.6 kB / 0.571 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.3328, allocations: 28.89 kB / 0.5711 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.3329, allocations: 39.36 kB / 0.5711 GB, free: 9.906 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3329, allocations: 0 / 0.5711 GB, free: 9.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.3563, allocations: 3.862 MB / 0.5749 GB, free: 6.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11, allocations: 8 kB / 0.5749 GB, free: 6.07 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.855398420942947] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.21511751995422 11.232253995 10.905556905 Calling exit ...