Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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.00127/0.00127, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001522/0.001522, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2315/0.2315, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",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.002391/0.002391, allocations: 85.33 kB / 0.4913 GB, free: 27.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1117, allocations: 65.97 MB / 0.5557 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002954/0.1146, allocations: 1.656 MB / 0.5573 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1157, allocations: 0.5644 MB / 0.5578 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.1157, allocations: 4 kB / 0.5578 GB, free: 7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.116, allocations: 95.67 kB / 0.5579 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.1163, allocations: 111.6 kB / 0.558 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1166, allocations: 119.3 kB / 0.5582 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1168, allocations: 103.7 kB / 0.5583 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1169, allocations: 32.19 kB / 0.5583 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.117, allocations: 35.84 kB / 0.5583 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1171, allocations: 67.8 kB / 0.5584 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1171, allocations: 8 kB / 0.5584 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.1172, allocations: 43.98 kB / 0.5584 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1172, allocations: 39.78 kB / 0.5585 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.1173, allocations: 39.69 kB / 0.5585 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1175, allocations: 131.5 kB / 0.5586 GB, free: 6.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1175, allocations: 0 / 0.5586 GB, free: 6.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1175, allocations: 0 / 0.5586 GB, free: 6.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1175, allocations: 3.938 kB / 0.5586 GB, free: 6.188 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005263/0.118, allocations: 438.6 kB / 0.5591 GB, free: 5.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1181, allocations: 12.03 kB / 0.5591 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.1181, allocations: 34.69 kB / 0.5591 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.1182, allocations: 16.84 kB / 0.5591 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1184, allocations: 216.1 kB / 0.5593 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1184, allocations: 4.375 kB / 0.5593 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1184, allocations: 12.38 kB / 0.5593 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1186, allocations: 74.17 kB / 0.5594 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1186, allocations: 7.891 kB / 0.5594 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1186, allocations: 0 / 0.5594 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1186, allocations: 0 / 0.5594 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1187, allocations: 55.88 kB / 0.5595 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.1192, allocations: 344.7 kB / 0.5598 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1194, allocations: 70.47 kB / 0.5599 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.1194, allocations: 24.84 kB / 0.5599 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1194, allocations: 4 kB / 0.5599 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1195, allocations: 34.56 kB / 0.5599 GB, free: 4.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1195, allocations: 0 / 0.5599 GB, free: 4.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001053/0.1205, allocations: 329.7 kB / 0.5602 GB, free: 4.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1206, allocations: 55.34 kB / 0.5603 GB, free: 4.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1208, allocations: 243.4 kB / 0.5605 GB, free: 4.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1208, allocations: 29.7 kB / 0.5606 GB, free: 4.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.1209, allocations: 124 kB / 0.5607 GB, free: 3.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.121, allocations: 39.64 kB / 0.5607 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.121, allocations: 33.66 kB / 0.5607 GB, free: 3.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1211, allocations: 322.8 kB / 0.5611 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1212, allocations: 43.97 kB / 0.5611 GB, free: 3.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1214, allocations: 43.97 kB / 0.5611 GB, free: 3.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.1216, allocations: 120.7 kB / 0.5613 GB, free: 3.277 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1216, allocations: 0 / 0.5613 GB, free: 3.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002845/0.1219, allocations: 149.7 kB / 0.5614 GB, free: 3.125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1219, allocations: 4 kB / 0.5614 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1219, allocations: 4 kB / 0.5614 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1219, allocations: 0 / 0.5614 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.122, allocations: 35.86 kB / 0.5614 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.122, allocations: 0 / 0.5614 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.1221, allocations: 11.98 kB / 0.5614 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1221, allocations: 4 kB / 0.5615 GB, free: 3.066 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001146/0.1222, allocations: 133.8 kB / 0.5616 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.1222, allocations: 15.91 kB / 0.5616 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.1226, allocations: 191 kB / 0.5618 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1226, allocations: 3.938 kB / 0.5618 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1226, allocations: 4 kB / 0.5618 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1226, allocations: 3.984 kB / 0.5618 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007057/0.1234, allocations: 0.4952 MB / 0.5623 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1234, allocations: 0 / 0.5623 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.1235, allocations: 23.98 kB / 0.5623 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1235, allocations: 0 / 0.5623 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1235, allocations: 11.94 kB / 0.5623 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1235, allocations: 7.969 kB / 0.5623 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1235, allocations: 0 / 0.5623 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.1238, allocations: 248.2 kB / 0.5626 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.1239, allocations: 97 kB / 0.5626 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1239, allocations: 0 / 0.5626 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.124, allocations: 8 kB / 0.5627 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.124, allocations: 11.98 kB / 0.5627 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.124, allocations: 4 kB / 0.5627 GB, free: 1.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.1242, allocations: 185.2 kB / 0.5628 GB, free: 1.527 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1242, allocations: 0 / 0.5628 GB, free: 1.527 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1244, allocations: 27.94 kB / 0.5629 GB, free: 1.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.002203/0.1266, allocations: 1.139 MB / 0.564 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.1269, allocations: 111.9 kB / 0.5641 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1269, allocations: 0 / 0.5641 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1271, allocations: 55.91 kB / 0.5641 GB, free: 356 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1274, allocations: 26.73 kB / 0.5642 GB, free: 332 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.1297, allocations: 1.935 MB / 0.5661 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1301, allocations: 0.7197 MB / 0.5668 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.023e-05/0.1302, allocations: 36.52 kB / 0.5668 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.1303, allocations: 47.42 kB / 0.5668 GB, free: 13.48 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1303, allocations: 0 / 0.5668 GB, free: 13.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.1542, allocations: 3.633 MB / 0.5704 GB, free: 9.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.416, allocations: 17.36 kB / 0.5704 GB, free: 9.891 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.3161561768502] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.543004458770156 8.570572723 8.448156257 Calling exit ...