Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001318/0.001318, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001372/0.001372, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.2251/0.2251, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 75.89 kB / 0.4917 GB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1292, allocations: 66.05 MB / 0.5562 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003461/0.1327, allocations: 1.74 MB / 0.5579 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.1354, allocations: 1.644 MB / 0.5595 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.1354, allocations: 4 kB / 0.5595 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.1357, allocations: 31.77 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.1361, allocations: 103.5 kB / 0.5597 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1362, allocations: 79.67 kB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1364, allocations: 107.7 kB / 0.5599 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.1365, allocations: 12 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.1366, allocations: 51.72 kB / 0.5599 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1368, allocations: 43.83 kB / 0.56 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1368, allocations: 4 kB / 0.56 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.137, allocations: 107.9 kB / 0.5601 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.137, allocations: 27.86 kB / 0.5601 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.1371, allocations: 35.73 kB / 0.5601 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.1374, allocations: 175.4 kB / 0.5603 GB, free: 1.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1374, allocations: 0 / 0.5603 GB, free: 1.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1374, allocations: 0 / 0.5603 GB, free: 1.246 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1374, allocations: 0 / 0.5603 GB, free: 1.246 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.0006656/0.138, allocations: 426.6 kB / 0.5607 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1381, allocations: 11.97 kB / 0.5607 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.138e-05/0.1381, allocations: 4.188 kB / 0.5607 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.1381, allocations: 38.75 kB / 0.5608 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.1382, allocations: 12.84 kB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.1386, allocations: 208.8 kB / 0.561 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1386, allocations: 12.05 kB / 0.561 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1386, allocations: 4 kB / 0.561 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1388, allocations: 63.39 kB / 0.561 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1388, allocations: 0 / 0.561 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1388, allocations: 12 kB / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1388, allocations: 3.938 kB / 0.5611 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.1389, allocations: 15.98 kB / 0.5611 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1393, allocations: 288.9 kB / 0.5613 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1395, allocations: 50.67 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.1396, allocations: 28.78 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1396, allocations: 4 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1398, allocations: 67.39 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1398, allocations: 0 / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005584/0.1404, allocations: 177.3 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.1404, allocations: 77.11 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1406, allocations: 166.4 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1406, allocations: 33.7 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.1407, allocations: 92.14 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1407, allocations: 31.73 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.1408, allocations: 21.72 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1409, allocations: 322.8 kB / 0.5624 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.141, allocations: 19.98 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-05/0.1411, allocations: 46.94 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1412, allocations: 65.62 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1412, allocations: 0 / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002824/0.1415, allocations: 101.6 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1415, allocations: 8 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1415, allocations: 0 / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1415, allocations: 3.938 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.1416, allocations: 16.05 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1416, allocations: 11.94 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.1417, allocations: 0 / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1417, allocations: 4 kB / 0.5626 GB, free: 14.58 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.0001149/0.1418, allocations: 127.4 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1418, allocations: 7.953 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.1418, allocations: 12.72 kB / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1418, allocations: 4.125 kB / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.1419, allocations: 3.938 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1419, allocations: 11.92 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.1424, allocations: 395.3 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1424, allocations: 7.922 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.1424, allocations: 8 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1424, allocations: 3.938 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1424, allocations: 0 / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1424, allocations: 4 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1424, allocations: 0 / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1427, allocations: 204.6 kB / 0.5634 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.1427, allocations: 88.98 kB / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1428, allocations: 8 kB / 0.5635 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.1428, allocations: 0 / 0.5635 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1429, allocations: 11.92 kB / 0.5635 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1429, allocations: 4 kB / 0.5635 GB, free: 13.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.143, allocations: 131.9 kB / 0.5636 GB, free: 13.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.143, allocations: 0 / 0.5636 GB, free: 13.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.1434, allocations: 51.86 kB / 0.5637 GB, free: 13.41 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.002461/0.1458, allocations: 1.174 MB / 0.5648 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.1461, allocations: 55.91 kB / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1461, allocations: 0 / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.1461, allocations: 27.94 kB / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1465, allocations: 34.03 kB / 0.5649 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1484, allocations: 1.603 MB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1487, allocations: 0.6963 MB / 0.5672 GB, free: 9.871 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.748e-05/0.1488, allocations: 21.19 kB / 0.5672 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.1489, allocations: 31.42 kB / 0.5672 GB, free: 9.816 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1489, allocations: 0 / 0.5672 GB, free: 9.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.1699, allocations: 4.07 MB / 0.5712 GB, free: 5.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.241, allocations: 23.73 kB / 0.5712 GB, free: 5.75 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.169232933025341] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.415913697041105 8.431328214 8.291081135 Calling exit ...