Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001704/0.001704, 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.002045/0.002045, 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.465/1.465, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2302/0.2302, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 75.88 kB / 0.4917 GB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1355, allocations: 66.05 MB / 0.5562 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003797/0.1393, allocations: 1.732 MB / 0.5579 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.1422, allocations: 1.646 MB / 0.5595 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1423, allocations: 3.938 kB / 0.5595 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.1426, allocations: 35.77 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.143, allocations: 103.5 kB / 0.5597 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1432, allocations: 75.73 kB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1434, allocations: 107.6 kB / 0.5599 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1435, allocations: 11.98 kB / 0.5599 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1436, allocations: 51.78 kB / 0.5599 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1438, allocations: 47.81 kB / 0.56 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1438, allocations: 4 kB / 0.56 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.1441, allocations: 103.9 kB / 0.5601 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.1441, allocations: 23.91 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.1442, allocations: 35.73 kB / 0.5601 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.1445, allocations: 175.3 kB / 0.5603 GB, free: 1.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1446, allocations: 0 / 0.5603 GB, free: 1.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1446, allocations: 0 / 0.5603 GB, free: 1.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1446, allocations: 0 / 0.5603 GB, free: 1.258 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.0007193/0.1453, allocations: 430.7 kB / 0.5607 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1453, allocations: 15.91 kB / 0.5607 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.66e-05/0.1454, allocations: 4.188 kB / 0.5607 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.1454, allocations: 38.73 kB / 0.5608 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.1455, allocations: 12.84 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.1458, allocations: 212.7 kB / 0.561 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1458, allocations: 4.125 kB / 0.561 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1458, allocations: 7.938 kB / 0.561 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.146, allocations: 79.38 kB / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.146, allocations: 0 / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.146, allocations: 0 / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1461, allocations: 0 / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.1461, allocations: 19.98 kB / 0.5611 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1466, allocations: 284.9 kB / 0.5613 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1468, allocations: 66.61 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.1468, allocations: 16.86 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1469, allocations: 0 / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.147, allocations: 67.39 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.147, allocations: 0 / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006208/0.1476, allocations: 177.3 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.1478, allocations: 77.11 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1479, allocations: 170.4 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.148, allocations: 25.7 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.148, allocations: 100.1 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.1481, allocations: 31.72 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.1481, allocations: 29.66 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1483, allocations: 318.8 kB / 0.5624 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.1484, allocations: 27.98 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.1484, allocations: 42.56 kB / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1486, allocations: 49.72 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1486, allocations: 0 / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002291/0.1488, allocations: 105.6 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1488, allocations: 5.781 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1488, allocations: 4 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1488, allocations: 0 / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.1489, allocations: 20.31 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.1489, allocations: 11.86 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.149, allocations: 8.188 kB / 0.5626 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.149, allocations: 0 / 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.0001228/0.1491, allocations: 125.8 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1491, allocations: 7.953 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.1493, allocations: 20.7 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1493, allocations: 0 / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.1493, allocations: 7.938 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1493, allocations: 0 / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.1498, allocations: 395.3 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1498, allocations: 0 / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.1499, allocations: 8 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1499, allocations: 3.938 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1499, allocations: 11.98 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1499, allocations: 4.031 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1499, allocations: 0 / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.1502, allocations: 196.5 kB / 0.5634 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.1502, allocations: 93 kB / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1503, allocations: 0 / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.1504, allocations: 7.984 kB / 0.5635 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.1504, allocations: 11.98 kB / 0.5635 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1504, allocations: 8 kB / 0.5635 GB, free: 13.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1506, allocations: 127.9 kB / 0.5636 GB, free: 13.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1506, allocations: 0 / 0.5636 GB, free: 13.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1509, allocations: 43.88 kB / 0.5637 GB, free: 13.43 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.002598/0.1535, allocations: 1.178 MB / 0.5648 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1537, allocations: 63.91 kB / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1537, allocations: 0 / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.1538, allocations: 32.03 kB / 0.5649 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1542, allocations: 40.89 kB / 0.5649 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.1564, allocations: 1.591 MB / 0.5665 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1567, allocations: 0.7002 MB / 0.5672 GB, free: 9.871 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.598e-05/0.1568, allocations: 16.88 kB / 0.5672 GB, free: 9.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.1569, allocations: 39.41 kB / 0.5672 GB, free: 9.812 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1569, allocations: 0 / 0.5672 GB, free: 9.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.1789, allocations: 4.076 MB / 0.5712 GB, free: 5.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.323, allocations: 11.81 kB / 0.5712 GB, free: 5.75 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.323466031986754] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.50035198702244 8.5148284 8.367450612 Calling exit ...