Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001732/0.001732, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 216.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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 46.97 MB / 361.7 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 68.14 kB / 0.4969 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 66.03 MB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003277/0.3112, allocations: 1.714 MB / 0.5631 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3129, allocations: 0.9637 MB / 0.564 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.313, allocations: 4 kB / 0.564 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.3133, allocations: 39.77 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.3137, allocations: 99.55 kB / 0.5642 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.3139, allocations: 75.72 kB / 0.5642 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3141, allocations: 103.6 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3142, allocations: 17.8 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.3143, allocations: 43.8 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.3144, allocations: 35.78 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3144, allocations: 4 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-05/0.3145, allocations: 43.97 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.3146, allocations: 23.92 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.3146, allocations: 27.75 kB / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3148, allocations: 119.5 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3148, allocations: 0 / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3148, allocations: 0 / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3148, allocations: 0 / 0.5646 GB, free: 0.875 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.0005659/0.3154, allocations: 349.6 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3154, allocations: 12.03 kB / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.43e-05/0.3155, allocations: 192 / 0.565 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.3155, allocations: 42.69 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.3155, allocations: 12.88 kB / 0.565 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.3158, allocations: 151 kB / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3158, allocations: 4.125 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3159, allocations: 8 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.316, allocations: 49.67 kB / 0.5652 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.316, allocations: 0 / 0.5652 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3161, allocations: 4 kB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3161, allocations: 8 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.591e-05/0.3161, allocations: 15.98 kB / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.3166, allocations: 259.9 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3168, allocations: 58.61 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.015e-05/0.3168, allocations: 24.78 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3168, allocations: 4 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.317, allocations: 63.39 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.317, allocations: 4 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005633/0.3175, allocations: 181.3 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3176, allocations: 63.41 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3178, allocations: 202.2 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3178, allocations: 29.7 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.3179, allocations: 100.1 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.3179, allocations: 27.78 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.318, allocations: 25.66 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3181, allocations: 322.8 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.3182, allocations: 23.98 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.3183, allocations: 38.08 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3184, allocations: 69.77 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3184, allocations: 0 / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002193/0.3186, allocations: 113.5 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3186, allocations: 4 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3186, allocations: 0 / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3187, allocations: 0 / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.3187, allocations: 16 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3188, allocations: 11.86 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.3188, allocations: 8.031 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3188, allocations: 7.938 kB / 0.5669 GB, free: 14.4 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.0001133/0.3189, allocations: 128.6 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.319, allocations: 19.88 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.3193, allocations: 123 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3193, allocations: 4 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3193, allocations: 3.938 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3193, allocations: 0 / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.3198, allocations: 366.7 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3198, allocations: 4.031 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.3198, allocations: 8 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.3198, allocations: 7.875 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3199, allocations: 11.98 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3199, allocations: 0 / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3199, allocations: 0 / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.3201, allocations: 212.2 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.3202, allocations: 11.89 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.3202, allocations: 4 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.3203, allocations: 7.984 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.3203, allocations: 11.98 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3203, allocations: 4 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3204, allocations: 152.2 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3204, allocations: 0 / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3207, allocations: 27.94 kB / 0.5679 GB, free: 13.22 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.002242/0.323, allocations: 1.141 MB / 0.569 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3232, allocations: 63.84 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3232, allocations: 0 / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.3232, allocations: 24 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3236, allocations: 34.31 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3256, allocations: 1.674 MB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.9e-05/0.3257, allocations: 96.17 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.3257, allocations: 9.297 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.3258, allocations: 43.34 kB / 0.5709 GB, free: 10.22 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3258, allocations: 0 / 0.5709 GB, free: 10.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.3493, allocations: 3.805 MB / 0.5746 GB, free: 6.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.87, allocations: 4.062 kB / 0.5746 GB, free: 6.492 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.845226519973949] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.095770415035076 12.125020935 11.804749454 Calling exit ...