Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.001233/0.001233, 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.001484/0.001484, allocations: 216.5 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2226/0.2226, allocations: 46.93 MB / 361.6 MB, free: 4.172 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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 83.88 kB / 0.497 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3198, allocations: 66.07 MB / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.00341/0.3232, allocations: 1.749 MB / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.325, allocations: 1.049 MB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.3251, allocations: 7.875 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.3253, allocations: 43.81 kB / 0.5643 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.3256, allocations: 103.5 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.3258, allocations: 75.69 kB / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.326, allocations: 111.7 kB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.3261, allocations: 5.828 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3262, allocations: 51.78 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.3263, allocations: 31.78 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3263, allocations: 4 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-05/0.3264, allocations: 39.98 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.3264, allocations: 31.84 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.3265, allocations: 35.75 kB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.3267, allocations: 127.4 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3267, allocations: 4 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3267, allocations: 0 / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3267, allocations: 8 kB / 0.5649 GB, free: 0.7695 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.0005736/0.3273, allocations: 365.3 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3273, allocations: 8.031 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.18e-05/0.3274, allocations: 4.188 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.3274, allocations: 30.75 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3274, allocations: 8.891 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3277, allocations: 167 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3277, allocations: 4.375 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3277, allocations: 4.375 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3279, allocations: 61.59 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3279, allocations: 0 / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3279, allocations: 3.938 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3279, allocations: 0 / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.328, allocations: 19.98 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.3284, allocations: 263.9 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3286, allocations: 62.66 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.3286, allocations: 20.8 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3286, allocations: 4 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.3288, allocations: 63.39 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3288, allocations: 0 / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005339/0.3293, allocations: 189.3 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3294, allocations: 55.41 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.3296, allocations: 235 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3296, allocations: 29.7 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.3297, allocations: 112.1 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.3297, allocations: 27.78 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.3298, allocations: 21.72 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3299, allocations: 338.7 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.33, allocations: 20 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.3301, allocations: 33.7 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.3302, allocations: 69.62 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3302, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.3304, allocations: 97.53 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3304, allocations: 12.03 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3304, allocations: 0 / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3304, allocations: 0 / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.3305, allocations: 15.98 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.3305, allocations: 4 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.3305, allocations: 4 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3305, allocations: 7.938 kB / 0.5672 GB, free: 14.24 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.3307, allocations: 131.1 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3307, allocations: 19.84 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3309, allocations: 119.1 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3309, allocations: 0 / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3309, allocations: 4 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3309, allocations: 3.984 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.3314, allocations: 370.3 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3314, allocations: 0 / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.3314, allocations: 8 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3314, allocations: 4.031 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3314, allocations: 11.92 kB / 0.5678 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3314, allocations: 0 / 0.5678 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.3314, allocations: 0 / 0.5678 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.3317, allocations: 212.2 kB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.3317, allocations: 11.91 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.3317, allocations: 3.938 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.3318, allocations: 8 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3318, allocations: 7.984 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3319, allocations: 4.375 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.332, allocations: 179.2 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.332, allocations: 0 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.3323, allocations: 19.94 kB / 0.5683 GB, free: 13.05 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.002102/0.3344, allocations: 1.097 MB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.3345, allocations: 63.89 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3345, allocations: 0 / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.3346, allocations: 20 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.335, allocations: 39.59 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3369, allocations: 1.755 MB / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3373, allocations: 0.7196 MB / 0.5719 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.806e-05/0.3373, allocations: 8.984 kB / 0.5719 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.3374, allocations: 43.41 kB / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3374, allocations: 0 / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3606, allocations: 3.82 MB / 0.5757 GB, free: 5.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.94, allocations: 4.438 kB / 0.5757 GB, free: 5.562 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.820593960990664] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.149798851984087 11.164556889 10.834975683 Calling exit ...