Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.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.001374/0.001374, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.001548/0.001548, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.456/1.456, allocations: 227.4 MB / 251.7 MB, free: 80 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.2292/0.2292, allocations: 46.15 MB / 351.1 MB, free: 14.32 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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",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.002252/0.002252, allocations: 77.05 kB / 489.7 MB, free: 28.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1146, allocations: 62.46 MB / 0.5393 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003077/0.1177, allocations: 1.717 MB / 0.5409 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1194, allocations: 1.017 MB / 0.5419 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.1195, allocations: 0 / 0.5419 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1198, allocations: 55.7 kB / 0.542 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1201, allocations: 99.53 kB / 0.5421 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1203, allocations: 79.66 kB / 0.5422 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1204, allocations: 99.75 kB / 0.5423 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.1205, allocations: 12.28 kB / 0.5423 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.307e-05/0.1206, allocations: 47.78 kB / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.1207, allocations: 31.78 kB / 0.5423 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1207, allocations: 4 kB / 0.5423 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1209, allocations: 47.97 kB / 0.5424 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.1209, allocations: 23.92 kB / 0.5424 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.121, allocations: 43.61 kB / 0.5425 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1212, allocations: 119.4 kB / 0.5426 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1212, allocations: 0 / 0.5426 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1212, allocations: 0 / 0.5426 GB, free: 1.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1212, allocations: 0 / 0.5426 GB, free: 1.293 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005708/0.1218, allocations: 430.6 kB / 0.543 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1218, allocations: 8.031 kB / 0.543 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.1219, allocations: 42.73 kB / 0.543 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.1219, allocations: 8.891 kB / 0.543 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1222, allocations: 216.1 kB / 0.5432 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1222, allocations: 8.375 kB / 0.5432 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1223, allocations: 384 / 0.5432 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1224, allocations: 57.8 kB / 0.5433 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1224, allocations: 0 / 0.5433 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1224, allocations: 8 kB / 0.5433 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1224, allocations: 0 / 0.5433 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.1225, allocations: 15.98 kB / 0.5433 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1229, allocations: 296.7 kB / 0.5436 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1231, allocations: 62.61 kB / 0.5437 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.12e-05/0.1232, allocations: 20.91 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1232, allocations: 3.938 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.1233, allocations: 67.39 kB / 0.5438 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1234, allocations: 0 / 0.5438 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005279/0.1239, allocations: 173.3 kB / 0.5439 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1239, allocations: 55.39 kB / 0.544 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1242, allocations: 214.1 kB / 0.5442 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1242, allocations: 25.7 kB / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.1243, allocations: 108.1 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1243, allocations: 27.73 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1244, allocations: 21.7 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1245, allocations: 326.8 kB / 0.5447 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.1246, allocations: 23.98 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.1246, allocations: 37.7 kB / 0.5447 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1248, allocations: 61.78 kB / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1248, allocations: 0 / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.125, allocations: 101.9 kB / 0.5449 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.125, allocations: 8.188 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.125, allocations: 0 / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.125, allocations: 3.938 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.1251, allocations: 16 kB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1251, allocations: 11.97 kB / 0.5449 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.1252, allocations: 7.984 kB / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1252, allocations: 4 kB / 0.5449 GB, free: 14.62 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.0001113/0.1253, allocations: 127.3 kB / 0.5451 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1254, allocations: 15.89 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.1254, allocations: 17.41 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1254, allocations: 4 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1254, allocations: 0 / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1254, allocations: 4 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.1259, allocations: 399.2 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1259, allocations: 0 / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.1259, allocations: 8 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.126, allocations: 3.938 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.126, allocations: 4 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.126, allocations: 3.938 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.126, allocations: 3.984 kB / 0.5455 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1262, allocations: 212.2 kB / 0.5457 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.1263, allocations: 85.06 kB / 0.5458 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1263, allocations: 0 / 0.5458 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.1264, allocations: 11.92 kB / 0.5458 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1264, allocations: 11.98 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1265, allocations: 4 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1266, allocations: 160.8 kB / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1266, allocations: 0 / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1269, allocations: 31.92 kB / 0.546 GB, free: 13.43 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.002095/0.129, allocations: 1.092 MB / 0.5471 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1292, allocations: 59.84 kB / 0.5471 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1292, allocations: 0 / 0.5471 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.1293, allocations: 31.98 kB / 0.5471 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1296, allocations: 31.28 kB / 0.5472 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1315, allocations: 1.693 MB / 0.5488 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1319, allocations: 0.7041 MB / 0.5495 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.1319, allocations: 28.78 kB / 0.5495 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.132, allocations: 43.36 kB / 0.5496 GB, free: 9.781 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.132, allocations: 0 / 0.5496 GB, free: 9.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.1577, allocations: 3.511 MB / 0.553 GB, free: 6.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.303, allocations: 6.094 kB / 0.553 GB, free: 6.371 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.302459762897342] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.423107957001776 8.449092142 8.323871248 Calling exit ...