Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.001319/0.001319, 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.001467/0.001467, 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.415/1.415, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2288/0.2288, allocations: 46.94 MB / 361.6 MB, free: 3.945 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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 75.89 kB / 0.497 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3246, allocations: 66.09 MB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003031/0.3276, allocations: 1.671 MB / 0.5631 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3292, allocations: 0.9476 MB / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.3293, allocations: 8 kB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.3295, allocations: 47.75 kB / 0.5641 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.3299, allocations: 103.6 kB / 0.5642 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.3301, allocations: 75.69 kB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3302, allocations: 103.7 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.3303, allocations: 4.234 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/0.3304, allocations: 43.8 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.3305, allocations: 35.83 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3305, allocations: 4 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.3306, allocations: 27.94 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.3307, allocations: 31.84 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.3307, allocations: 27.75 kB / 0.5645 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.331, allocations: 133.2 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.331, allocations: 0 / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.331, allocations: 0 / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.331, allocations: 4 kB / 0.5647 GB, free: 0.7656 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006078/0.3316, allocations: 373.3 kB / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3316, allocations: 8.031 kB / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.768e-05/0.3316, allocations: 8.125 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.3317, allocations: 30.75 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3317, allocations: 8.891 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.332, allocations: 159.2 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.332, allocations: 384 / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.332, allocations: 4.375 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3322, allocations: 49.61 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3322, allocations: 7.984 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3322, allocations: 0 / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3322, allocations: 4 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.3323, allocations: 15.98 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.3326, allocations: 164.7 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3327, allocations: 50.61 kB / 0.5655 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.369e-05/0.3328, allocations: 16.86 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3328, allocations: 3.938 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.333, allocations: 83.36 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.333, allocations: 0 / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003107/0.3333, allocations: 101.5 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3334, allocations: 55.41 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.3337, allocations: 278.8 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3337, allocations: 29.64 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.3338, allocations: 116.1 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.3338, allocations: 15.84 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3339, allocations: 17.72 kB / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3341, allocations: 334.8 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.126e-05/0.3341, allocations: 16 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.3342, allocations: 25.7 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3343, allocations: 49.64 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3343, allocations: 0 / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001818/0.3345, allocations: 93.47 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3345, allocations: 11.98 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3345, allocations: 0 / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3345, allocations: 0 / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.3346, allocations: 8.031 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3346, allocations: 8 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.3346, allocations: 3.953 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.3346, allocations: 7.938 kB / 0.5667 GB, free: 14.44 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 (7): * Single equations (assignments): 7 * 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.0001134/0.3347, allocations: 135.1 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.3348, allocations: 19.83 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.335, allocations: 102.7 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.335, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.335, allocations: 384 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.335, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3352, allocations: 168.7 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3352, allocations: 4 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.3352, allocations: 7.984 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3352, allocations: 4 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3352, allocations: 0 / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3352, allocations: 0 / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3352, allocations: 0 / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.3355, allocations: 132.9 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.3355, allocations: 11.91 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.3355, allocations: 0 / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.3356, allocations: 7.984 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.3356, allocations: 4 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.3356, allocations: 8 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.3358, allocations: 208.5 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3358, allocations: 0 / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.336, allocations: 23.94 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002044/0.3381, allocations: 0.978 MB / 0.5685 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.3382, allocations: 47.92 kB / 0.5685 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3382, allocations: 0 / 0.5685 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.3383, allocations: 24.05 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3386, allocations: 31.34 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.3405, allocations: 1.705 MB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3406, allocations: 109.7 kB / 0.5704 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.458e-05/0.3406, allocations: 12.5 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.3407, allocations: 39.42 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3407, allocations: 0 / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.3641, allocations: 3.832 MB / 0.5742 GB, free: 6.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.05, allocations: 4.062 kB / 0.5742 GB, free: 6.82 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.965456460020505] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.27167852804996 11.30060252 10.964478085 Calling exit ...