Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.001435/0.001435, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001474/0.001474, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2339/0.2339, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.89 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3172, allocations: 66.04 MB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00364/0.3208, allocations: 1.976 MB / 0.5626 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3227, allocations: 1.064 MB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3228, allocations: 3.938 kB / 0.5636 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.3231, allocations: 47.69 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.3235, allocations: 111.4 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3237, allocations: 111.6 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.324, allocations: 211.4 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3241, allocations: 19.62 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.3243, allocations: 83.64 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3244, allocations: 79.55 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.3244, allocations: 12 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3246, allocations: 51.98 kB / 0.5643 GB, free: 404 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.3246, allocations: 39.84 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.3247, allocations: 59.64 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.325, allocations: 207.1 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.325, allocations: 0 / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.325, allocations: 0 / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.325, allocations: 0 / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009618/0.326, allocations: 0.4965 MB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.326, allocations: 8.031 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.3261, allocations: 42.73 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.3261, allocations: 16.84 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3265, allocations: 190 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3265, allocations: 12.36 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.3266, allocations: 7.938 kB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.327, allocations: 180.8 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.327, allocations: 0 / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.327, allocations: 4 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.327, allocations: 7.938 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.3275, allocations: 111.9 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.3282, allocations: 0.5038 MB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006628/0.3288, allocations: 158.6 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.3291, allocations: 76.72 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3291, allocations: 4 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000404/0.3295, allocations: 157 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.3295, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009026/0.3304, allocations: 269.3 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.3304, allocations: 55.34 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.3307, allocations: 244.1 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3307, allocations: 25.7 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3309, allocations: 132.4 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.3309, allocations: 39.69 kB / 0.5673 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.331, allocations: 33.72 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3311, allocations: 330.8 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.3314, allocations: 101.6 kB / 0.5677 GB, free: 12.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.3317, allocations: 129.9 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.3322, allocations: 198.5 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3323, allocations: 0 / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006923/0.3329, allocations: 291.8 kB / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.333, allocations: 41.69 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.333, allocations: 4.125 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.333, allocations: 7.938 kB / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3332, allocations: 31.97 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3332, allocations: 3.938 kB / 0.5684 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.3334, allocations: 35.86 kB / 0.5684 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.3334, allocations: 4 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001309/0.3335, allocations: 129.8 kB / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.3336, allocations: 15.91 kB / 0.5686 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/0.3342, allocations: 226.9 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3342, allocations: 3.938 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3342, allocations: 0 / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.3342, allocations: 0 / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.3345, allocations: 200.6 kB / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3345, allocations: 0 / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.3346, allocations: 27.97 kB / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3346, allocations: 0 / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.3346, allocations: 11.94 kB / 0.569 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3347, allocations: 7.922 kB / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3347, allocations: 0 / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.3356, allocations: 312.8 kB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3356, allocations: 19.83 kB / 0.5693 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.3357, allocations: 4 kB / 0.5693 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.3359, allocations: 27.91 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.3359, allocations: 19.97 kB / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.336, allocations: 7.984 kB / 0.5694 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.3361, allocations: 173.8 kB / 0.5695 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3361, allocations: 4 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.3364, allocations: 32 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002689/0.3391, allocations: 1.178 MB / 0.5707 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.3398, allocations: 256.8 kB / 0.571 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3398, allocations: 0 / 0.571 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.34, allocations: 83.84 kB / 0.5711 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3404, allocations: 50.42 kB / 0.5711 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.344, allocations: 2.309 MB / 0.5734 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3441, allocations: 112.1 kB / 0.5735 GB, free: 6.625 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.675e-05/0.3442, allocations: 21.48 kB / 0.5735 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.3443, allocations: 59.41 kB / 0.5735 GB, free: 6.547 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3443, allocations: 0 / 0.5735 GB, free: 6.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.3785, allocations: 5.895 MB / 0.5793 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 11.17 kB / 0.5793 GB, free: 0.7188 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.323705618735403] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.646465620957315 11.672156674 11.342091454 Calling exit ...