Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.00178/0.00178, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002273/0.002273, allocations: 208.6 kB / 24.54 MB, free: 4.055 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.46/1.46, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2219/0.2219, allocations: 46.93 MB / 361.6 MB, free: 4.234 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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",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.002366/0.002366, allocations: 87.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3212, allocations: 66.08 MB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003283/0.3245, allocations: 1.838 MB / 0.5634 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3265, allocations: 1.115 MB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.293e-05/0.3266, allocations: 0 / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.3271, allocations: 307.2 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.3276, allocations: 259.2 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.3278, allocations: 103.7 kB / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.3281, allocations: 267.2 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.3282, allocations: 9.797 kB / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.3284, allocations: 139.5 kB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.3287, allocations: 204 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.3287, allocations: 11.94 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3288, allocations: 47.98 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.329, allocations: 140.5 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.3291, allocations: 146.8 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.3295, allocations: 376.2 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3295, allocations: 0 / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3295, allocations: 0 / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3295, allocations: 0 / 0.5664 GB, free: 15.36 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.0009795/0.3305, allocations: 0.6708 MB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3306, allocations: 12.03 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.3306, allocations: 34.73 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.3307, allocations: 56.61 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.3313, allocations: 398.5 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3313, allocations: 8.359 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3313, allocations: 4.375 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.3315, allocations: 87.5 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3315, allocations: 0 / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3316, allocations: 3.984 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3316, allocations: 0 / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.3317, allocations: 35.92 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3321, allocations: 345.5 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.3324, allocations: 93.23 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.3325, allocations: 41.7 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.3325, allocations: 7.875 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.3327, allocations: 113 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.3327, allocations: 0 / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004854/0.3332, allocations: 209.6 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.3333, allocations: 77.11 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3345, allocations: 1.026 MB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.3345, allocations: 29.7 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.3347, allocations: 232.1 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.3347, allocations: 31.83 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.3348, allocations: 25.72 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.335, allocations: 374.7 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.3351, allocations: 27.98 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3352, allocations: 67.34 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.3353, allocations: 91.36 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3353, allocations: 0 / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00032/0.3357, allocations: 173.2 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3357, allocations: 4 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3357, allocations: 4 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3357, allocations: 0 / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3358, allocations: 27.92 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3358, allocations: 0 / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.3359, allocations: 15.95 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3359, allocations: 8 kB / 0.5705 GB, free: 10.82 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002571/0.3362, allocations: 219.5 kB / 0.5708 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.3363, allocations: 51.61 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.3367, allocations: 202 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3367, allocations: 4 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3367, allocations: 0 / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3367, allocations: 0 / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.337, allocations: 312.5 kB / 0.5713 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.337, allocations: 7.938 kB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.3371, allocations: 15.92 kB / 0.5713 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3371, allocations: 0 / 0.5713 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3371, allocations: 8 kB / 0.5713 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3371, allocations: 0 / 0.5713 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3371, allocations: 3.984 kB / 0.5713 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.3375, allocations: 225.4 kB / 0.5715 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.3376, allocations: 71.53 kB / 0.5716 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.3376, allocations: 0 / 0.5716 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.3377, allocations: 4 kB / 0.5716 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.3378, allocations: 11.98 kB / 0.5716 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.3378, allocations: 7.984 kB / 0.5716 GB, free: 9.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008901/0.3387, allocations: 0.7604 MB / 0.5724 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3387, allocations: 0 / 0.5724 GB, free: 8.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.339, allocations: 44 kB / 0.5724 GB, free: 8.82 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002097/0.3411, allocations: 1.052 MB / 0.5735 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.3413, allocations: 87.95 kB / 0.5735 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3413, allocations: 0 / 0.5735 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3414, allocations: 39.92 kB / 0.5736 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3419, allocations: 75.78 kB / 0.5736 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.3476, allocations: 4.477 MB / 0.578 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.3481, allocations: 0.8503 MB / 0.5788 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.3483, allocations: 54.95 kB / 0.5789 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.3485, allocations: 151.4 kB / 0.579 GB, free: 2.012 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3485, allocations: 0 / 0.579 GB, free: 2.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.3827, allocations: 9.128 MB / 0.588 GB, free: 8.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.785/9.168, allocations: 0 / 0.588 GB, free: 8.891 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.066319450270385] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.31607019295916 9.340533564 9.006305567 Calling exit ...