Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001266/0.001266, 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.001374/0.001374, 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.378/1.378, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2215/0.2215, allocations: 46.93 MB / 361.6 MB, free: 4.227 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 79.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3243, allocations: 66.08 MB / 0.5616 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003369/0.3277, allocations: 1.779 MB / 0.5633 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3294, allocations: 1.049 MB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.3295, allocations: 0 / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.3299, allocations: 111.7 kB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.3302, allocations: 127.5 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.3304, allocations: 75.73 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.3306, allocations: 139.6 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3307, allocations: 13.81 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3308, allocations: 63.75 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.331, allocations: 75.73 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.331, allocations: 8 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3311, allocations: 67.91 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.3312, allocations: 31.91 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.3312, allocations: 43.62 kB / 0.5651 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.3315, allocations: 155.3 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3315, allocations: 0 / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3315, allocations: 4 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3315, allocations: 3.984 kB / 0.5652 GB, free: 0.5664 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005924/0.3321, allocations: 385.2 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3322, allocations: 15.97 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.624e-05/0.3322, allocations: 192 / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.3322, allocations: 42.73 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.3323, allocations: 16.84 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.3326, allocations: 167.2 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3326, allocations: 384 / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3326, allocations: 8.375 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3328, allocations: 65.55 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3328, allocations: 8 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3328, allocations: 3.984 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3328, allocations: 0 / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.3329, allocations: 31.92 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.3333, allocations: 291.8 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3336, allocations: 70.58 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.3336, allocations: 24.84 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3337, allocations: 4 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.3338, allocations: 75.38 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.3338, allocations: 0 / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007948/0.3346, allocations: 281.2 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.3347, allocations: 55.34 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.335, allocations: 263.7 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.335, allocations: 33.7 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.3351, allocations: 108.1 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.3351, allocations: 47.62 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.3352, allocations: 21.72 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3353, allocations: 334.8 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.3354, allocations: 31.98 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.3355, allocations: 53.7 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3357, allocations: 85.7 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3357, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002532/0.3359, allocations: 141.5 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3359, allocations: 8 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3359, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.336, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.336, allocations: 31.95 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3361, allocations: 3.938 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.3361, allocations: 11.95 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3361, allocations: 4 kB / 0.5678 GB, free: 13.68 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 (14): * Single equations (assignments): 14 * 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.0001238/0.3362, allocations: 135.1 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3363, allocations: 15.89 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.3366, allocations: 167.6 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3366, allocations: 4 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3366, allocations: 7.938 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3366, allocations: 0 / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.3372, allocations: 451.1 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3372, allocations: 3.938 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.3372, allocations: 12 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3373, allocations: 4.094 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3373, allocations: 7.922 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3373, allocations: 4 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3373, allocations: 4.062 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.3376, allocations: 245.3 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.3376, allocations: 27.81 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3376, allocations: 4 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.3377, allocations: 4 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.3378, allocations: 15.98 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.3378, allocations: 8 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.338, allocations: 197.5 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.338, allocations: 0 / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.3382, allocations: 27.94 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002448/0.3407, allocations: 1.183 MB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3409, allocations: 79.91 kB / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3409, allocations: 0 / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.341, allocations: 43.91 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3414, allocations: 35.95 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.3438, allocations: 1.956 MB / 0.5723 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.3442, allocations: 0.7279 MB / 0.573 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.684e-05/0.3443, allocations: 21.06 kB / 0.5731 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.3444, allocations: 51.42 kB / 0.5731 GB, free: 8.215 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3444, allocations: 0 / 0.5731 GB, free: 8.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3677, allocations: 4.423 MB / 0.5774 GB, free: 3.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11, allocations: 14.42 kB / 0.5774 GB, free: 3.836 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.846121251990553] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 11.217325224017259 11.244087623 10.907351761 Calling exit ...