Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.001349/0.001349, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001605/0.001605, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.514/1.514, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2194/0.2194, allocations: 46.92 MB / 361.6 MB, free: 4.305 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.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",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.002323/0.002323, allocations: 83.86 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3028, allocations: 66.09 MB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003749/0.3066, allocations: 2.376 MB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3092, allocations: 1.423 MB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.3093, allocations: 11.88 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.3099, allocations: 291 kB / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006796/0.3106, allocations: 338.6 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.3111, allocations: 215.5 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006944/0.3118, allocations: 0.5725 MB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3119, allocations: 43.23 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.3123, allocations: 254.9 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.3126, allocations: 294.9 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.3127, allocations: 16 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.3128, allocations: 59.92 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.313, allocations: 115.5 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.3131, allocations: 182.6 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.3136, allocations: 437.8 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3136, allocations: 0 / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3137, allocations: 0 / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3137, allocations: 0 / 0.568 GB, free: 13.65 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001244/0.3149, allocations: 0.7339 MB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3149, allocations: 12.03 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.315, allocations: 50.73 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.3151, allocations: 56.56 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006877/0.3158, allocations: 361.1 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.3158, allocations: 12.38 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.3159, allocations: 12.38 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.3163, allocations: 221.8 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3163, allocations: 0 / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.3163, allocations: 4 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3163, allocations: 4 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.3166, allocations: 103.9 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.3176, allocations: 0.8362 MB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/0.3182, allocations: 269.3 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.3184, allocations: 100.2 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.3184, allocations: 4 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000438/0.3189, allocations: 227.4 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.3189, allocations: 0 / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002096/0.321, allocations: 1.042 MB / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.3211, allocations: 170.2 kB / 0.5721 GB, free: 9.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007773/0.3219, allocations: 0.6553 MB / 0.5727 GB, free: 8.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.3219, allocations: 33.7 kB / 0.5728 GB, free: 8.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.3221, allocations: 237 kB / 0.573 GB, free: 8.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3223, allocations: 130.9 kB / 0.5731 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.3224, allocations: 70.12 kB / 0.5732 GB, free: 8.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.3226, allocations: 374.8 kB / 0.5735 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.3228, allocations: 104.8 kB / 0.5736 GB, free: 7.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.3231, allocations: 180.9 kB / 0.5738 GB, free: 7.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.3237, allocations: 296.8 kB / 0.5741 GB, free: 7.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3237, allocations: 0 / 0.5741 GB, free: 7.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008346/0.3245, allocations: 412.8 kB / 0.5745 GB, free: 6.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.3246, allocations: 10.34 kB / 0.5745 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3246, allocations: 4 kB / 0.5745 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.3246, allocations: 4 kB / 0.5745 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.3249, allocations: 83.89 kB / 0.5746 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3249, allocations: 4 kB / 0.5746 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.3251, allocations: 24.14 kB / 0.5746 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.3252, allocations: 19.94 kB / 0.5746 GB, free: 6.484 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002757/0.3254, allocations: 209.2 kB / 0.5748 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.3255, allocations: 67.52 kB / 0.5749 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009482/0.3265, allocations: 458.1 kB / 0.5753 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3265, allocations: 8 kB / 0.5753 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3265, allocations: 3.938 kB / 0.5753 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3265, allocations: 4 kB / 0.5753 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.3283, allocations: 1.257 MB / 0.5766 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3283, allocations: 0 / 0.5766 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.3284, allocations: 47.92 kB / 0.5766 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.3284, allocations: 4 kB / 0.5766 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.3284, allocations: 15.98 kB / 0.5766 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.3284, allocations: 7.938 kB / 0.5766 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3285, allocations: 3.938 kB / 0.5766 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009917/0.3294, allocations: 0.8169 MB / 0.5774 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.3295, allocations: 51.61 kB / 0.5775 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.3296, allocations: 12 kB / 0.5775 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.3299, allocations: 23.86 kB / 0.5775 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.33, allocations: 35.94 kB / 0.5776 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.3301, allocations: 20 kB / 0.5776 GB, free: 3.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005691/0.3306, allocations: 494.7 kB / 0.5781 GB, free: 2.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3306, allocations: 0 / 0.5781 GB, free: 2.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000578/0.3312, allocations: 87.94 kB / 0.5781 GB, free: 2.773 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00298/0.3342, allocations: 1.737 MB / 0.5798 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.3349, allocations: 280.3 kB / 0.5801 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3349, allocations: 3.938 kB / 0.5801 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.3352, allocations: 136.7 kB / 0.5802 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.3363, allocations: 136.5 kB / 0.5804 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006054/0.3423, allocations: 4.53 MB / 0.5848 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.3428, allocations: 0.8628 MB / 0.5856 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002612/0.3431, allocations: 88.12 kB / 0.5857 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.3433, allocations: 187.4 kB / 0.5859 GB, free: 10.72 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3433, allocations: 3.938 kB / 0.5859 GB, free: 10.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.3799, allocations: 11.19 MB / 0.5968 GB, free: 15.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/8.999, allocations: 4.062 kB / 0.5968 GB, free: 15.57 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.969514426309615] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 9.146500736940652 9.167357297 8.850562721 Calling exit ...