Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.001482/0.001482, allocations: 105 kB / 21.22 MB, free: 0.6758 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.001801/0.001801, allocations: 209.7 kB / 24.53 MB, free: 4.035 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.464/1.464, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2215/0.2215, allocations: 46.93 MB / 361.6 MB, free: 4.191 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-beta.om/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.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 83.84 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3075, allocations: 66.07 MB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00349/0.311, allocations: 1.838 MB / 0.5634 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.3139, allocations: 1.811 MB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.314, allocations: 8 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.3143, allocations: 55.62 kB / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.3146, allocations: 131.4 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.3149, allocations: 111.7 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.3151, allocations: 207.3 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.3152, allocations: 13.78 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.3154, allocations: 83.64 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.3156, allocations: 91.53 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.3156, allocations: 12 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3158, allocations: 115.9 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.3159, allocations: 39.84 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.316, allocations: 63.59 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.3163, allocations: 229 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3163, allocations: 0 / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3163, allocations: 0 / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3163, allocations: 0 / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006809/0.317, allocations: 428.9 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3171, allocations: 12.03 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.3171, allocations: 38.75 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.3172, allocations: 16.84 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.3175, allocations: 198.1 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3176, allocations: 4.375 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3176, allocations: 4.375 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.3178, allocations: 97.2 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3178, allocations: 4 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3178, allocations: 4 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3178, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3179, allocations: 35.86 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.3182, allocations: 197.5 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.3184, allocations: 101.2 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.3185, allocations: 37.7 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3186, allocations: 3.984 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.3188, allocations: 113 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3188, allocations: 0 / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004444/0.3192, allocations: 165.9 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.3193, allocations: 140.4 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.3196, allocations: 234.3 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3196, allocations: 29.7 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.3197, allocations: 116.1 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.3197, allocations: 35.73 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.3198, allocations: 29.7 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3199, allocations: 330.8 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.32, allocations: 24.11 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3201, allocations: 81.12 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.3203, allocations: 91.33 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3203, allocations: 4 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002713/0.3206, allocations: 137.4 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3206, allocations: 4 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3206, allocations: 3.984 kB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3206, allocations: 8.062 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3207, allocations: 27.92 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3207, allocations: 4 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.3208, allocations: 7.953 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3208, allocations: 4 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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.000123/0.3209, allocations: 138.6 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.321, allocations: 19.84 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.3213, allocations: 147 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.3213, allocations: 11.92 kB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3213, allocations: 0 / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3213, allocations: 0 / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3215, allocations: 200.5 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3215, allocations: 3.938 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.3215, allocations: 8 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3215, allocations: 3.938 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.3216, allocations: 7.984 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3216, allocations: 0 / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3216, allocations: 0 / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3219, allocations: 169.8 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.3219, allocations: 23.83 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.3219, allocations: 4 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.322, allocations: 4 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.322, allocations: 7.984 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.322, allocations: 4 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.3222, allocations: 188.5 kB / 0.5698 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3222, allocations: 0 / 0.5698 GB, free: 11.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3225, allocations: 51.88 kB / 0.5698 GB, free: 11.42 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002202/0.3247, allocations: 1.099 MB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.325, allocations: 83.84 kB / 0.571 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.325, allocations: 0 / 0.571 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3251, allocations: 32.36 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3254, allocations: 56.11 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.3277, allocations: 1.9 MB / 0.5729 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.328, allocations: 0.7203 MB / 0.5736 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.716e-05/0.3281, allocations: 33.61 kB / 0.5737 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3282, allocations: 55.41 kB / 0.5737 GB, free: 7.449 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3282, allocations: 4 kB / 0.5737 GB, free: 7.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3589, allocations: 5.414 MB / 0.579 GB, free: 2.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.567, allocations: 14.16 kB / 0.579 GB, free: 2.016 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.455197946168482] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.709747711662203 8.731680639 8.411205191 Calling exit ...