Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001418/0.001418, allocations: 114.3 kB / 18.49 MB, free: 4.566 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.001494/0.001494, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.45/1.45, 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.2182/0.2182, 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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 79.88 kB / 0.4918 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1311, allocations: 66.05 MB / 0.5562 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003889/0.135, allocations: 1.758 MB / 0.558 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.137, allocations: 1.036 MB / 0.559 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.1371, allocations: 7.938 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.1375, allocations: 95.67 kB / 0.5591 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.1379, allocations: 131.5 kB / 0.5592 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1381, allocations: 79.67 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.1383, allocations: 135.6 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1384, allocations: 7.984 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1386, allocations: 63.77 kB / 0.5595 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1387, allocations: 67.73 kB / 0.5595 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1387, allocations: 4 kB / 0.5595 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1388, allocations: 63.97 kB / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.1389, allocations: 19.92 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.139, allocations: 51.61 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1392, allocations: 147.3 kB / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1392, allocations: 0 / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1392, allocations: 4 kB / 0.5598 GB, free: 1.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1392, allocations: 0 / 0.5598 GB, free: 1.781 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006799/0.1399, allocations: 458.4 kB / 0.5603 GB, free: 1.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.14, allocations: 8.031 kB / 0.5603 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.756e-05/0.14, allocations: 192 / 0.5603 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.14, allocations: 34.75 kB / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.1401, allocations: 16.84 kB / 0.5603 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1404, allocations: 227.8 kB / 0.5605 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1404, allocations: 8.375 kB / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.1404, allocations: 12.27 kB / 0.5605 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1406, allocations: 61.61 kB / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1406, allocations: 0 / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1406, allocations: 0 / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1407, allocations: 0 / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.1407, allocations: 27.92 kB / 0.5606 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1412, allocations: 312.7 kB / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.1415, allocations: 54.56 kB / 0.561 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.1415, allocations: 20.97 kB / 0.561 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1415, allocations: 4 kB / 0.561 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.1417, allocations: 75.44 kB / 0.5611 GB, free: 320 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1417, allocations: 3.938 kB / 0.5611 GB, free: 316 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007719/0.1425, allocations: 249.2 kB / 0.5613 GB, free: 60 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.1425, allocations: 55.41 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.1428, allocations: 255.1 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1428, allocations: 25.7 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.1429, allocations: 112.1 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.1429, allocations: 35.69 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.143, allocations: 25.72 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1431, allocations: 334.8 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.1432, allocations: 24 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.1433, allocations: 49.69 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1435, allocations: 81.64 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1435, allocations: 4 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002395/0.1437, allocations: 129.6 kB / 0.5624 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1437, allocations: 4 kB / 0.5624 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1437, allocations: 0 / 0.5624 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1437, allocations: 4 kB / 0.5624 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.1438, allocations: 23.92 kB / 0.5624 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1438, allocations: 3.938 kB / 0.5624 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.1439, allocations: 4 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1439, allocations: 8 kB / 0.5624 GB, free: 14.84 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 (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.0001183/0.144, allocations: 134.9 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.144, allocations: 23.92 kB / 0.5626 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.1441, allocations: 21.34 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1441, allocations: 3.984 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1441, allocations: 7.938 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1441, allocations: 0 / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.1447, allocations: 456 kB / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.1447, allocations: 7.922 kB / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.1447, allocations: 24 kB / 0.5631 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1447, allocations: 96 / 0.5631 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1447, allocations: 7.938 kB / 0.5631 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1447, allocations: 4 kB / 0.5631 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1447, allocations: 0 / 0.5631 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.145, allocations: 229.1 kB / 0.5633 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.1451, allocations: 96.95 kB / 0.5634 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1451, allocations: 11.94 kB / 0.5634 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.1452, allocations: 3.984 kB / 0.5634 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1452, allocations: 4 kB / 0.5634 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1452, allocations: 11.94 kB / 0.5634 GB, free: 13.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1454, allocations: 192.5 kB / 0.5636 GB, free: 13.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1454, allocations: 0 / 0.5636 GB, free: 13.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1457, allocations: 27.94 kB / 0.5637 GB, free: 13.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002529/0.1482, allocations: 1.175 MB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.1485, allocations: 75.91 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1485, allocations: 4.062 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.1485, allocations: 35.92 kB / 0.5649 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.1489, allocations: 43.53 kB / 0.565 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.1511, allocations: 1.894 MB / 0.5668 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1515, allocations: 0.7196 MB / 0.5675 GB, free: 9.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.989e-05/0.1515, allocations: 16.66 kB / 0.5675 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.1516, allocations: 51.41 kB / 0.5676 GB, free: 9.504 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1516, allocations: 0 / 0.5676 GB, free: 9.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.1709, allocations: 4.078 MB / 0.5716 GB, free: 5.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.287, allocations: 6.531 kB / 0.5716 GB, free: 5.48 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.269384547020309] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.462502725014929 8.477802425 8.33556275 Calling exit ...