Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001996/0.001996, allocations: 122.1 kB / 17.84 MB, free: 5.203 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.002369/0.002369, allocations: 211.9 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 207.6 MB / 231.2 MB, free: 4.129 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3456/0.3456, allocations: 44.23 MB / 327.3 MB, free: 7.129 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 71.88 kB / 463 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3095, allocations: 61 MB / 0.5117 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003199/0.3127, allocations: 1.715 MB / 0.5134 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.314, allocations: 0.8055 MB / 0.5142 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.3141, allocations: 5.812 kB / 0.5142 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.3145, allocations: 34.36 kB / 0.5142 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.3147, allocations: 61.84 kB / 0.5143 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.3149, allocations: 88.3 kB / 0.5144 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.3151, allocations: 93.53 kB / 0.5144 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3152, allocations: 12.91 kB / 0.5145 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.3153, allocations: 43.44 kB / 0.5145 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.3154, allocations: 39.91 kB / 0.5145 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3154, allocations: 6.594 kB / 0.5145 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.767e-05/0.3155, allocations: 38.27 kB / 0.5146 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.3155, allocations: 22.25 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.3156, allocations: 31.59 kB / 0.5146 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.3158, allocations: 114.5 kB / 0.5147 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3158, allocations: 0.875 kB / 0.5147 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3158, allocations: 3.938 kB / 0.5147 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3158, allocations: 0 / 0.5147 GB, free: 10.86 MB / 382.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.0005393/0.3164, allocations: 420.4 kB / 0.5151 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3164, allocations: 12.89 kB / 0.5152 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.225e-05/0.3164, allocations: 1.375 kB / 0.5152 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.3165, allocations: 31.84 kB / 0.5152 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.3165, allocations: 13.28 kB / 0.5152 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3168, allocations: 215.6 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.3168, allocations: 5.344 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3168, allocations: 2.219 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.317, allocations: 61.58 kB / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.317, allocations: 5.516 kB / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.317, allocations: 0 / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.317, allocations: 1.188 kB / 0.5155 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.3171, allocations: 21.86 kB / 0.5155 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.3175, allocations: 282.5 kB / 0.5158 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3177, allocations: 59.45 kB / 0.5158 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.3177, allocations: 21.62 kB / 0.5158 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.3177, allocations: 0 / 0.5158 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.3179, allocations: 73.84 kB / 0.5159 GB, free: 9.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3179, allocations: 0 / 0.5159 GB, free: 9.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006436/0.3186, allocations: 173.3 kB / 0.5161 GB, free: 9.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3186, allocations: 56.86 kB / 0.5161 GB, free: 9.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3188, allocations: 187.8 kB / 0.5163 GB, free: 9.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3188, allocations: 29.7 kB / 0.5163 GB, free: 9.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.3188, allocations: 101.1 kB / 0.5164 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.3189, allocations: 23.53 kB / 0.5165 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.3189, allocations: 20.34 kB / 0.5165 GB, free: 9.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.319, allocations: 321.7 kB / 0.5168 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/0.319, allocations: 27.3 kB / 0.5168 GB, free: 8.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.3191, allocations: 47.81 kB / 0.5169 GB, free: 8.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.3192, allocations: 54.38 kB / 0.5169 GB, free: 8.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3192, allocations: 1.375 kB / 0.5169 GB, free: 8.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001656/0.3194, allocations: 103 kB / 0.517 GB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3194, allocations: 5.5 kB / 0.517 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3194, allocations: 7.969 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3194, allocations: 1.375 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.3195, allocations: 13.75 kB / 0.517 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3195, allocations: 7.922 kB / 0.517 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.3195, allocations: 2.75 kB / 0.5171 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3195, allocations: 6.75 kB / 0.5171 GB, free: 8.656 MB / 382.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 7.464e-05/0.3196, allocations: 123.4 kB / 0.5172 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.3196, allocations: 12.06 kB / 0.5172 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.3197, allocations: 14.22 kB / 0.5172 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3197, allocations: 5.375 kB / 0.5172 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3197, allocations: 3.938 kB / 0.5172 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3197, allocations: 0 / 0.5172 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.32, allocations: 397.1 kB / 0.5176 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.32, allocations: 1.375 kB / 0.5176 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.3201, allocations: 10.86 kB / 0.5176 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3201, allocations: 5.312 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3201, allocations: 1.375 kB / 0.5176 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3201, allocations: 5.406 kB / 0.5176 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3201, allocations: 1.75 kB / 0.5176 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.3203, allocations: 204.5 kB / 0.5178 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.3203, allocations: 91.7 kB / 0.5179 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3203, allocations: 13.36 kB / 0.5179 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.3204, allocations: 1.375 kB / 0.5179 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.3204, allocations: 8.125 kB / 0.5179 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.3205, allocations: 6.734 kB / 0.5179 GB, free: 7.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.3206, allocations: 142.6 kB / 0.5181 GB, free: 7.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3206, allocations: 0 / 0.5181 GB, free: 7.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3208, allocations: 24.48 kB / 0.5181 GB, free: 7.699 MB / 382.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 (8): * Single equations (assignments): 6 * 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.002023/0.3228, allocations: 1.104 MB / 0.5192 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.323, allocations: 52.97 kB / 0.5192 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.323, allocations: 4.062 kB / 0.5192 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.967e-05/0.3231, allocations: 24.31 kB / 0.5192 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3235, allocations: 43.7 kB / 0.5193 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3249, allocations: 1.622 MB / 0.5209 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.325, allocations: 0.708 MB / 0.5216 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.586e-05/0.3251, allocations: 21.11 kB / 0.5216 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.3251, allocations: 31.42 kB / 0.5216 GB, free: 4.359 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3251, allocations: 0 / 0.5216 GB, free: 4.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.344, allocations: 3.424 MB / 0.5249 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/9.008, allocations: 0 / 0.5249 GB, free: 0.8594 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.923493103997316] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.186494939029217 9.201321661 8.882428554 Calling exit ...