Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.001725/0.001725, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002159/0.002159, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.498/1.498, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2211/0.2211, allocations: 46.93 MB / 357.7 MB, free: 10.24 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.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",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.002222/0.002222, allocations: 83.81 kB / 0.4918 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1137, allocations: 66.04 MB / 0.5563 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.0033/0.117, allocations: 2.295 MB / 0.5585 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1191, allocations: 1.315 MB / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1192, allocations: 15.88 kB / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.1195, allocations: 131.3 kB / 0.5599 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.12, allocations: 246.8 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1203, allocations: 187.5 kB / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.1208, allocations: 458.6 kB / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1209, allocations: 45.06 kB / 0.5608 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.1213, allocations: 315 kB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.1215, allocations: 163.1 kB / 0.5613 GB, free: 340 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.1215, allocations: 20 kB / 0.5613 GB, free: 320 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.1216, allocations: 75.95 kB / 0.5614 GB, free: 244 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1218, allocations: 131.5 kB / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1219, allocations: 182.6 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.1224, allocations: 445.6 kB / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1224, allocations: 0 / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1224, allocations: 4 kB / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1224, allocations: 0 / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001036/0.1234, allocations: 0.8436 MB / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1235, allocations: 12.03 kB / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.1235, allocations: 42.73 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.799e-05/0.1236, allocations: 68.5 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.1241, allocations: 433 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1241, allocations: 8.375 kB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.1242, allocations: 24.31 kB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.1245, allocations: 189.1 kB / 0.5637 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1246, allocations: 3.984 kB / 0.5637 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1246, allocations: 4 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1246, allocations: 4 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.1248, allocations: 99.81 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.1257, allocations: 0.8017 MB / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.1262, allocations: 234.5 kB / 0.5648 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.1264, allocations: 83.53 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1265, allocations: 7.984 kB / 0.5649 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.1268, allocations: 200.2 kB / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.1268, allocations: 3.938 kB / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002333/0.1291, allocations: 1.133 MB / 0.5662 GB, free: 11.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.1292, allocations: 140.5 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.1301, allocations: 0.8008 MB / 0.5671 GB, free: 10.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1301, allocations: 33.7 kB / 0.5671 GB, free: 10.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.1303, allocations: 237 kB / 0.5673 GB, free: 9.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.1304, allocations: 150.8 kB / 0.5675 GB, free: 9.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1305, allocations: 78.09 kB / 0.5676 GB, free: 9.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1307, allocations: 382.7 kB / 0.5679 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.1309, allocations: 116.8 kB / 0.568 GB, free: 9.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.1312, allocations: 183.1 kB / 0.5682 GB, free: 8.871 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.1317, allocations: 314.9 kB / 0.5685 GB, free: 8.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.1317, allocations: 4 kB / 0.5685 GB, free: 8.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007114/0.1324, allocations: 441 kB / 0.5689 GB, free: 8.098 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1324, allocations: 6.344 kB / 0.5689 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1325, allocations: 4 kB / 0.5689 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1325, allocations: 4 kB / 0.5689 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1327, allocations: 91.83 kB / 0.569 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1327, allocations: 4 kB / 0.569 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.1329, allocations: 19.98 kB / 0.5691 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.1329, allocations: 20.17 kB / 0.5691 GB, free: 7.953 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002457/0.1332, allocations: 243.8 kB / 0.5693 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/0.1332, allocations: 67.53 kB / 0.5694 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.1334, allocations: 84.89 kB / 0.5694 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1334, allocations: 4 kB / 0.5695 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1334, allocations: 4 kB / 0.5695 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1334, allocations: 0 / 0.5695 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.135, allocations: 1.314 MB / 0.5707 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.135, allocations: 4 kB / 0.5707 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1352, allocations: 63.91 kB / 0.5708 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1352, allocations: 4.25 kB / 0.5708 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.1352, allocations: 16 kB / 0.5708 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.1352, allocations: 7.984 kB / 0.5708 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.1352, allocations: 7.938 kB / 0.5708 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.1361, allocations: 0.7889 MB / 0.5716 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.1362, allocations: 172.6 kB / 0.5718 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.1363, allocations: 20 kB / 0.5718 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.1366, allocations: 15.98 kB / 0.5718 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.1366, allocations: 39.89 kB / 0.5718 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.1367, allocations: 23.98 kB / 0.5719 GB, free: 4.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000617/0.1373, allocations: 0.5811 MB / 0.5724 GB, free: 4.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1373, allocations: 0 / 0.5724 GB, free: 4.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004807/0.1378, allocations: 91.92 kB / 0.5725 GB, free: 4.254 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002896/0.1407, allocations: 1.757 MB / 0.5742 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.1412, allocations: 291.6 kB / 0.5745 GB, free: 2.348 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1412, allocations: 0 / 0.5745 GB, free: 2.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.1415, allocations: 148.4 kB / 0.5747 GB, free: 2.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.1424, allocations: 135.8 kB / 0.5748 GB, free: 2.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/0.148, allocations: 4.763 MB / 0.5794 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.1486, allocations: 0.8821 MB / 0.5803 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.1487, allocations: 87.27 kB / 0.5804 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.149, allocations: 191.4 kB / 0.5806 GB, free: 11.95 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.149, allocations: 0 / 0.5806 GB, free: 11.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.177/1.326, allocations: 10.89 MB / 0.5912 GB, free: 1.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.951/10.28, allocations: 19.48 kB / 0.5912 GB, free: 1.109 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv --start-time 0 --stop-time 9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00179784 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.814331742934883] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 10.642728912178427 10.657863503 10.532646571 Calling exit ...