Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001326/0.001326, allocations: 120.4 kB / 18.45 MB, free: 4.594 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.0018/0.0018, allocations: 204.9 kB / 21.41 MB, free: 1.645 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.478/1.478, allocations: 227.5 MB / 251.7 MB, free: 44 kB / 190.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.2274/0.2274, allocations: 46.17 MB / 351.1 MB, free: 14.29 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",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.002383/0.002383, allocations: 77.39 kB / 489.7 MB, free: 28.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1229, allocations: 62.45 MB / 0.5392 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00419/0.1271, allocations: 1.593 MB / 0.5408 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1286, allocations: 0.5449 MB / 0.5413 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.1287, allocations: 0 / 0.5413 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.1289, allocations: 23.84 kB / 0.5413 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.1293, allocations: 75.62 kB / 0.5414 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.1298, allocations: 115.7 kB / 0.5415 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.13, allocations: 51.91 kB / 0.5415 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1301, allocations: 31.84 kB / 0.5416 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.1302, allocations: 15.94 kB / 0.5416 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.134e-05/0.1303, allocations: 23.86 kB / 0.5416 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1303, allocations: 4 kB / 0.5416 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1305, allocations: 35.92 kB / 0.5416 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.1305, allocations: 15.92 kB / 0.5417 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.1306, allocations: 23.86 kB / 0.5417 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.1308, allocations: 75.67 kB / 0.5418 GB, free: 2.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1308, allocations: 4 kB / 0.5418 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1309, allocations: 0 / 0.5418 GB, free: 2.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.319e-06/0.1309, allocations: 3.938 kB / 0.5418 GB, free: 2.109 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000613/0.1315, allocations: 390.9 kB / 0.5421 GB, free: 1.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1316, allocations: 8.031 kB / 0.5421 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.1316, allocations: 30.75 kB / 0.5422 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.1317, allocations: 12.83 kB / 0.5422 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1319, allocations: 188.3 kB / 0.5424 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.132, allocations: 8.375 kB / 0.5424 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.132, allocations: 4.375 kB / 0.5424 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1322, allocations: 50.23 kB / 0.5424 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1322, allocations: 3.938 kB / 0.5424 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1322, allocations: 3.984 kB / 0.5424 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1323, allocations: 4 kB / 0.5424 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.1324, allocations: 23.98 kB / 0.5425 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.1329, allocations: 288.8 kB / 0.5427 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1331, allocations: 46.56 kB / 0.5428 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1332, allocations: 20.94 kB / 0.5428 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1332, allocations: 0 / 0.5428 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1332, allocations: 34.5 kB / 0.5428 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1332, allocations: 0 / 0.5428 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005719/0.1338, allocations: 161.3 kB / 0.543 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1338, allocations: 51.41 kB / 0.543 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.134, allocations: 144.9 kB / 0.5432 GB, free: 472 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.134, allocations: 29.7 kB / 0.5432 GB, free: 436 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.1341, allocations: 96.12 kB / 0.5433 GB, free: 336 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1341, allocations: 19.8 kB / 0.5433 GB, free: 316 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1342, allocations: 29.64 kB / 0.5433 GB, free: 280 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1344, allocations: 318.8 kB / 0.5436 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.1344, allocations: 23.97 kB / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.1345, allocations: 19.98 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1347, allocations: 52.83 kB / 0.5437 GB, free: 15.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1347, allocations: 0 / 0.5437 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001976/0.1349, allocations: 89.61 kB / 0.5438 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1349, allocations: 4 kB / 0.5438 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1349, allocations: 0 / 0.5438 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1349, allocations: 0 / 0.5438 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.135, allocations: 19.92 kB / 0.5438 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.135, allocations: 0 / 0.5438 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.1351, allocations: 8 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1351, allocations: 0 / 0.5439 GB, free: 15.73 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 (5): * Single equations (assignments): 5 * 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 9.67e-05/0.1352, allocations: 121.8 kB / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.1352, allocations: 11.94 kB / 0.544 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.1355, allocations: 94.28 kB / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1355, allocations: 3.938 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1355, allocations: 0 / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1355, allocations: 4 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.136, allocations: 358.4 kB / 0.5444 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.136, allocations: 8 kB / 0.5444 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.1361, allocations: 11.98 kB / 0.5444 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1361, allocations: 0 / 0.5444 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1361, allocations: 0 / 0.5444 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1361, allocations: 0 / 0.5444 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1361, allocations: 7.938 kB / 0.5444 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1363, allocations: 191.3 kB / 0.5446 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1364, allocations: 85.06 kB / 0.5447 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1364, allocations: 3.984 kB / 0.5447 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.1365, allocations: 4 kB / 0.5447 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.1365, allocations: 3.938 kB / 0.5447 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.1366, allocations: 4 kB / 0.5447 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1367, allocations: 117.3 kB / 0.5448 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1367, allocations: 0 / 0.5448 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1369, allocations: 16 kB / 0.5448 GB, free: 14.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001916/0.1388, allocations: 1.013 MB / 0.5458 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.139, allocations: 55.95 kB / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1391, allocations: 4 kB / 0.5459 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.1391, allocations: 23.98 kB / 0.5459 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1395, allocations: 30.92 kB / 0.5459 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.1412, allocations: 1.469 MB / 0.5474 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1416, allocations: 0.6924 MB / 0.5481 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.13e-05/0.1417, allocations: 23.83 kB / 0.5481 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.1417, allocations: 27.42 kB / 0.5481 GB, free: 11.28 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1417, allocations: 192 / 0.5481 GB, free: 11.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.1665, allocations: 2.562 MB / 0.5506 GB, free: 8.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.075, allocations: 15.17 kB / 0.5506 GB, free: 8.797 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.039942965144292] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.194295447086915 8.207937458 8.074414617 Calling exit ...