Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001295/0.001295, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001343/0.001343, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.384/1.384, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.217/0.217, allocations: 46.93 MB / 361.6 MB, free: 4.168 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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 79.88 kB / 0.497 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3485, allocations: 66.09 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003379/0.3519, allocations: 1.745 MB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3537, allocations: 1.041 MB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.284e-05/0.3538, allocations: 0 / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.3541, allocations: 59.75 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.3544, allocations: 103.5 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.3546, allocations: 79.66 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.3548, allocations: 103.7 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3549, allocations: 9.969 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.355, allocations: 43.78 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.3551, allocations: 39.78 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3551, allocations: 4 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3552, allocations: 39.98 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.3553, allocations: 35.84 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.3554, allocations: 43.67 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.3556, allocations: 135.4 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3556, allocations: 0 / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3556, allocations: 0 / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3556, allocations: 0 / 0.565 GB, free: 0.7812 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.0006302/0.3563, allocations: 381.2 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3563, allocations: 16.03 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.66e-05/0.3563, allocations: 192 / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.3564, allocations: 30.75 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.3564, allocations: 24.77 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.3567, allocations: 163.2 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3567, allocations: 384 / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3567, allocations: 4.375 kB / 0.5655 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.3569, allocations: 57.61 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3569, allocations: 7.984 kB / 0.5656 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3569, allocations: 4 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3569, allocations: 0 / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.357, allocations: 23.92 kB / 0.5656 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.3574, allocations: 267.9 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3576, allocations: 50.69 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.3577, allocations: 24.84 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3577, allocations: 3.938 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.3579, allocations: 63.39 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3579, allocations: 4 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005637/0.3584, allocations: 181.6 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.3585, allocations: 63.41 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.3588, allocations: 274.8 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3588, allocations: 25.7 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.3589, allocations: 112.1 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.3589, allocations: 27.78 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.3589, allocations: 21.72 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3591, allocations: 338.7 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.3592, allocations: 20 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.3592, allocations: 37.7 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3594, allocations: 61.7 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3594, allocations: 4 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.3595, allocations: 113.5 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3596, allocations: 8 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3596, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3596, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.3597, allocations: 20.03 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3597, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.3597, allocations: 3.984 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3597, allocations: 11.94 kB / 0.5673 GB, free: 14.17 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.0001214/0.3598, allocations: 131.1 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3599, allocations: 20.09 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.3601, allocations: 115 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3601, allocations: 3.938 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3601, allocations: 4 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3601, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.3606, allocations: 382.5 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3606, allocations: 4 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.3606, allocations: 8 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3606, allocations: 0 / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3606, allocations: 3.938 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3606, allocations: 3.984 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3606, allocations: 4 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.3609, allocations: 208.3 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.3609, allocations: 11.91 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.3609, allocations: 11.94 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.361, allocations: 0 / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.361, allocations: 7.984 kB / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3611, allocations: 4 kB / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.3612, allocations: 208.6 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3612, allocations: 3.938 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3615, allocations: 27.94 kB / 0.5684 GB, free: 12.93 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.002194/0.3637, allocations: 1.098 MB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.3639, allocations: 51.92 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3639, allocations: 0 / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.364, allocations: 32.11 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3643, allocations: 27.91 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.3667, allocations: 1.842 MB / 0.5714 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3671, allocations: 0.7197 MB / 0.5721 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.3672, allocations: 16.97 kB / 0.5721 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.3672, allocations: 43.42 kB / 0.5721 GB, free: 9.133 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3672, allocations: 0 / 0.5721 GB, free: 9.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.3906, allocations: 3.99 MB / 0.576 GB, free: 5.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.93, allocations: 4.062 kB / 0.576 GB, free: 5.191 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.75223378901137] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.144976332027 11.17149023 10.811014886 Calling exit ...