Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001451/0.001451, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001324/0.001324, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.445/1.445, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 79.88 kB / 0.4917 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1157, allocations: 66.05 MB / 0.5562 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003185/0.1189, allocations: 1.721 MB / 0.5579 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1206, allocations: 1.042 MB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.1207, allocations: 4 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.121, allocations: 43.77 kB / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.1214, allocations: 91.55 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.1216, allocations: 79.72 kB / 0.5591 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1217, allocations: 103.6 kB / 0.5592 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.1218, allocations: 12 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.331e-05/0.1219, allocations: 51.77 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.122, allocations: 23.86 kB / 0.5593 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.122, allocations: 4 kB / 0.5593 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.1221, allocations: 51.97 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.1222, allocations: 23.86 kB / 0.5594 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.1222, allocations: 39.73 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1224, allocations: 119.4 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1224, allocations: 0 / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1224, allocations: 0 / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1224, allocations: 0 / 0.5596 GB, free: 2.027 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.0005466/0.123, allocations: 418.7 kB / 0.56 GB, free: 1.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.123, allocations: 12.03 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.057e-05/0.123, allocations: 4.188 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.1231, allocations: 34.75 kB / 0.56 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1231, allocations: 16.89 kB / 0.56 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.1234, allocations: 220.8 kB / 0.5602 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1234, allocations: 384 / 0.5602 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1234, allocations: 4.375 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1236, allocations: 57.61 kB / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1236, allocations: 0 / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1236, allocations: 3.938 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1236, allocations: 4 kB / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.1237, allocations: 27.92 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.124, allocations: 292.8 kB / 0.5606 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.1242, allocations: 50.69 kB / 0.5607 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.1243, allocations: 24.84 kB / 0.5607 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1243, allocations: 0 / 0.5607 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.1244, allocations: 67.33 kB / 0.5607 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.1244, allocations: 0 / 0.5607 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005448/0.125, allocations: 185.4 kB / 0.5609 GB, free: 464 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.125, allocations: 55.34 kB / 0.561 GB, free: 396 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1252, allocations: 190.4 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1252, allocations: 37.7 kB / 0.5612 GB, free: 152 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1253, allocations: 100.1 kB / 0.5613 GB, free: 48 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.1253, allocations: 23.8 kB / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.1254, allocations: 25.7 kB / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1255, allocations: 330.8 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.1256, allocations: 12 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.1256, allocations: 37.7 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1258, allocations: 65.64 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1258, allocations: 0 / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.1259, allocations: 101.6 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.126, allocations: 4 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.126, allocations: 0 / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.126, allocations: 0 / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.1261, allocations: 20.31 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1261, allocations: 0 / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.1261, allocations: 16.02 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.1261, allocations: 7.938 kB / 0.5619 GB, free: 15.38 MB / 430.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.0001015/0.1262, allocations: 127.5 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.1262, allocations: 11.91 kB / 0.562 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.1263, allocations: 17.39 kB / 0.562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1263, allocations: 4 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1263, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1263, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.1268, allocations: 395.3 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1268, allocations: 8.172 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.1268, allocations: 11.94 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1268, allocations: 3.938 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1268, allocations: 3.938 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1268, allocations: 3.938 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1268, allocations: 4 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.127, allocations: 204.4 kB / 0.5627 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1271, allocations: 93 kB / 0.5627 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1271, allocations: 3.938 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1272, allocations: 0 / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.1272, allocations: 11.98 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1272, allocations: 7.984 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1274, allocations: 148.2 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1274, allocations: 0 / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1276, allocations: 31.94 kB / 0.5629 GB, free: 14.2 MB / 430.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.002085/0.1297, allocations: 1.085 MB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.1299, allocations: 55.91 kB / 0.5641 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1299, allocations: 0 / 0.5641 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.13, allocations: 31.97 kB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1303, allocations: 23.92 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1321, allocations: 1.673 MB / 0.5657 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1324, allocations: 0.7002 MB / 0.5664 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.1325, allocations: 29.17 kB / 0.5665 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.1325, allocations: 35.42 kB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1325, allocations: 0 / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.1506, allocations: 3.5 MB / 0.5699 GB, free: 7.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.177, allocations: 6.453 kB / 0.5699 GB, free: 7.156 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.127445152029395] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.353231201006565 8.375633254 8.249171463 Calling exit ...