Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.002011/0.002011, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001542/0.001542, allocations: 215 kB / 21.45 MB, free: 1.641 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.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 44.91 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001938/0.001938, allocations: 69.94 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1223, allocations: 65.42 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003501/0.1258, allocations: 1.729 MB / 0.5542 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1279, allocations: 1.038 MB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.128, allocations: 3.938 kB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.1284, allocations: 43.7 kB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.1287, allocations: 95.59 kB / 0.5554 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.1289, allocations: 79.66 kB / 0.5554 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.1291, allocations: 103.8 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1292, allocations: 12.28 kB / 0.5555 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1293, allocations: 55.64 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.1294, allocations: 31.86 kB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1294, allocations: 4 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1295, allocations: 43.98 kB / 0.5557 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.1296, allocations: 19.91 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.1297, allocations: 39.73 kB / 0.5557 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1299, allocations: 123.4 kB / 0.5558 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1299, allocations: 4 kB / 0.5559 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1299, allocations: 4 kB / 0.5559 GB, free: 6.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1299, allocations: 0 / 0.5559 GB, free: 6.621 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006223/0.1305, allocations: 422.6 kB / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1306, allocations: 12.03 kB / 0.5563 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.133e-05/0.1306, allocations: 192 / 0.5563 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.1306, allocations: 30.75 kB / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.1307, allocations: 20.83 kB / 0.5563 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.131, allocations: 224.1 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.131, allocations: 8.125 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.131, allocations: 7.984 kB / 0.5565 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1312, allocations: 57.61 kB / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1312, allocations: 0 / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1312, allocations: 0 / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.1312, allocations: 0 / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.995e-05/0.1313, allocations: 23.98 kB / 0.5566 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.1317, allocations: 292.8 kB / 0.5569 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1319, allocations: 58.61 kB / 0.557 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.132, allocations: 16.86 kB / 0.557 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.132, allocations: 0 / 0.557 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.1322, allocations: 67.39 kB / 0.557 GB, free: 5.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1322, allocations: 0 / 0.557 GB, free: 5.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005704/0.1327, allocations: 181.3 kB / 0.5572 GB, free: 5.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1328, allocations: 55.41 kB / 0.5573 GB, free: 4.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.133, allocations: 214 kB / 0.5575 GB, free: 4.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.133, allocations: 25.7 kB / 0.5575 GB, free: 4.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1331, allocations: 112.1 kB / 0.5576 GB, free: 4.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1332, allocations: 23.8 kB / 0.5576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.1332, allocations: 17.72 kB / 0.5576 GB, free: 4.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1334, allocations: 334.8 kB / 0.558 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.1334, allocations: 16 kB / 0.558 GB, free: 4.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.1335, allocations: 37.64 kB / 0.558 GB, free: 4.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1336, allocations: 61.7 kB / 0.5581 GB, free: 4.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1336, allocations: 0 / 0.5581 GB, free: 4.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.1338, allocations: 97.53 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1338, allocations: 12.03 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1338, allocations: 3.984 kB / 0.5582 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1339, allocations: 0 / 0.5582 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.1339, allocations: 20 kB / 0.5582 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.134, allocations: 3.938 kB / 0.5582 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.134, allocations: 384 / 0.5582 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.134, allocations: 4 kB / 0.5582 GB, free: 3.965 MB / 414.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 0.0001275/0.1341, allocations: 143.9 kB / 0.5583 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1342, allocations: 12.09 kB / 0.5584 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.1342, allocations: 21.39 kB / 0.5584 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1342, allocations: 11.94 kB / 0.5584 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1342, allocations: 3.938 kB / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1342, allocations: 0 / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.1347, allocations: 395.3 kB / 0.5588 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1347, allocations: 0 / 0.5588 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.1348, allocations: 8 kB / 0.5588 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1348, allocations: 3.938 kB / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1348, allocations: 8.031 kB / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1348, allocations: 0 / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1348, allocations: 0 / 0.5588 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.135, allocations: 208.2 kB / 0.559 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.1351, allocations: 92.98 kB / 0.5591 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1351, allocations: 8 kB / 0.5591 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.1352, allocations: 4 kB / 0.5591 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1352, allocations: 7.984 kB / 0.5591 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1353, allocations: 4 kB / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1354, allocations: 160.3 kB / 0.5593 GB, free: 2.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1354, allocations: 0 / 0.5593 GB, free: 2.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1357, allocations: 23.94 kB / 0.5593 GB, free: 2.762 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: 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.002257/0.1379, allocations: 1.104 MB / 0.5604 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.1382, allocations: 51.98 kB / 0.5604 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1382, allocations: 0 / 0.5604 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.1382, allocations: 27.92 kB / 0.5604 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1386, allocations: 36.95 kB / 0.5605 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.1407, allocations: 1.697 MB / 0.5621 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.141, allocations: 0.7119 MB / 0.5628 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.598e-05/0.1411, allocations: 24.78 kB / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.1411, allocations: 35.42 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1411, allocations: 4 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.1597, allocations: 3.568 MB / 0.5664 GB, free: 11.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.545/8.705, allocations: 4.062 kB / 0.5664 GB, free: 11.63 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.811116503959056] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.886905702995136 8.904203794 8.771306656 Calling exit ...