Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.001307/0.001307, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001375/0.001375, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.374/1.374, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2163/0.2163, allocations: 46.91 MB / 361.6 MB, free: 4.289 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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 71.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3078, allocations: 66.07 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003053/0.3108, allocations: 1.737 MB / 0.5633 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3126, allocations: 1.051 MB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.094e-05/0.3127, allocations: 3.938 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.313, allocations: 55.69 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.3133, allocations: 91.61 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.3135, allocations: 83.67 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3136, allocations: 103.7 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.3137, allocations: 5.969 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3138, allocations: 55.7 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.3139, allocations: 27.86 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3139, allocations: 4 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.314, allocations: 43.97 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.3141, allocations: 23.86 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.503e-05/0.3142, allocations: 39.73 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.3144, allocations: 127.4 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3144, allocations: 4 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3144, allocations: 0 / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3144, allocations: 0 / 0.5649 GB, free: 0.8125 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.0005249/0.3149, allocations: 349.5 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3149, allocations: 12.03 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.581e-05/0.315, allocations: 4.188 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.315, allocations: 34.75 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.315, allocations: 12.89 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.3153, allocations: 170.2 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3153, allocations: 4.375 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.3153, allocations: 8.312 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3155, allocations: 57.61 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3155, allocations: 0 / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.3155, allocations: 0 / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3155, allocations: 0 / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.3156, allocations: 19.98 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.316, allocations: 263.9 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3162, allocations: 58.61 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.3162, allocations: 16.86 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.3162, allocations: 0 / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.3164, allocations: 71.39 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3164, allocations: 0 / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005619/0.317, allocations: 181.3 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.317, allocations: 55.41 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.3173, allocations: 218.2 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3173, allocations: 29.7 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3174, allocations: 100.1 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3174, allocations: 23.8 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.3175, allocations: 33.7 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.3177, allocations: 326.8 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.54e-05/0.3178, allocations: 23.94 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.3178, allocations: 33.7 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.318, allocations: 57.7 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.318, allocations: 192 / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.3181, allocations: 113.5 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3182, allocations: 15.92 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3182, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3182, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.3183, allocations: 12.38 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3183, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3183, allocations: 8 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3183, allocations: 11.92 kB / 0.5671 GB, free: 14.32 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.0001103/0.3184, allocations: 131.1 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3185, allocations: 19.91 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.3187, allocations: 111.1 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3187, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3187, allocations: 4 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3187, allocations: 0 / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.3192, allocations: 370.6 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3192, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.3192, allocations: 15.97 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3193, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3193, allocations: 3.938 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3193, allocations: 4 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3193, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3195, allocations: 208.3 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.855e-05/0.3195, allocations: 7.953 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.3196, allocations: 7.938 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.3196, allocations: 8 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.3197, allocations: 7.984 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3197, allocations: 4 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3198, allocations: 152.3 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3198, allocations: 0 / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3201, allocations: 31.86 kB / 0.5682 GB, free: 13.17 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 (8): * Single equations (assignments): 6 * 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.002091/0.3222, allocations: 1.086 MB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.3223, allocations: 59.91 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3223, allocations: 0 / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.988e-05/0.3224, allocations: 23.94 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3228, allocations: 31.91 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.3248, allocations: 1.69 MB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3251, allocations: 0.708 MB / 0.5717 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.355e-05/0.3252, allocations: 24.56 kB / 0.5717 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.3253, allocations: 35.42 kB / 0.5718 GB, free: 9.531 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3253, allocations: 0 / 0.5718 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.3482, allocations: 3.715 MB / 0.5754 GB, free: 5.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.97, allocations: 0 / 0.5754 GB, free: 5.867 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.755587532010395] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.182928811991587 11.20990007 10.890556599 Calling exit ...