Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001472/0.001472, 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.001653/0.001653, allocations: 210.7 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.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 8 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.2177/0.2177, allocations: 46.93 MB / 361.6 MB, free: 4.148 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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 79.88 kB / 0.497 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3489, allocations: 66.08 MB / 0.5616 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003163/0.352, allocations: 1.737 MB / 0.5633 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3538, allocations: 1.057 MB / 0.5643 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.3539, allocations: 4 kB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.3541, allocations: 39.77 kB / 0.5643 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.3544, allocations: 99.55 kB / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.3546, allocations: 83.66 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3548, allocations: 103.7 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.3548, allocations: 9.953 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3549, allocations: 51.73 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.355, allocations: 31.84 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.355, allocations: 4 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.3551, allocations: 43.97 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.3552, allocations: 19.92 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.3552, allocations: 39.69 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.3555, allocations: 123.4 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3555, allocations: 7.984 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3555, allocations: 0 / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3555, allocations: 0 / 0.5649 GB, free: 0.7695 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.0005358/0.356, allocations: 349.5 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.356, allocations: 8.031 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.468e-05/0.3561, allocations: 192 / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.3561, allocations: 38.75 kB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.3561, allocations: 12.89 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3564, allocations: 170.2 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3564, allocations: 4.359 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3564, allocations: 4.375 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3566, allocations: 57.61 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3566, allocations: 0 / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3566, allocations: 0 / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3566, allocations: 4 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.3567, allocations: 15.98 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.3571, allocations: 267.9 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3573, allocations: 54.62 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.3573, allocations: 20.84 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3573, allocations: 4 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.3575, allocations: 71.38 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3575, allocations: 0 / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005315/0.358, allocations: 177.6 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3581, allocations: 59.41 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.3583, allocations: 214.2 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3583, allocations: 25.7 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.3584, allocations: 108.1 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.3584, allocations: 31.72 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.3585, allocations: 25.66 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3586, allocations: 326.8 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.3587, allocations: 23.98 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.3587, allocations: 37.7 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.3589, allocations: 57.77 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3589, allocations: 4 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.3591, allocations: 109.5 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3591, allocations: 4 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3591, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3591, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.3592, allocations: 19.98 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3592, allocations: 3.938 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.3592, allocations: 0 / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3592, allocations: 11.94 kB / 0.5671 GB, free: 14.29 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.0001212/0.3594, allocations: 133.7 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.3594, allocations: 15.84 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.3596, allocations: 115.1 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3596, allocations: 0 / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3596, allocations: 0 / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3596, allocations: 0 / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.3601, allocations: 366.3 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3601, allocations: 4.031 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.3601, allocations: 15.92 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3601, allocations: 0 / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3601, allocations: 7.938 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3601, allocations: 0 / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3601, allocations: 320 / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3604, allocations: 208.3 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.3604, allocations: 7.953 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3604, allocations: 15.92 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.3605, allocations: 0 / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.3605, allocations: 11.92 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3605, allocations: 4 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3607, allocations: 156.3 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3607, allocations: 4 kB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.3609, allocations: 24.12 kB / 0.5682 GB, free: 13.13 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.00211/0.363, allocations: 1.093 MB / 0.5693 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.3632, allocations: 51.92 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3632, allocations: 4 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.3633, allocations: 27.92 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3636, allocations: 27.92 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.3655, allocations: 1.692 MB / 0.571 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3659, allocations: 0.7083 MB / 0.5717 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.3659, allocations: 20.56 kB / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.366, allocations: 43.42 kB / 0.5718 GB, free: 9.484 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.366, allocations: 0 / 0.5718 GB, free: 9.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.3906, allocations: 3.706 MB / 0.5754 GB, free: 5.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.94, allocations: 8.062 kB / 0.5754 GB, free: 5.82 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.775824334996287] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.157064747996628 11.178313754 10.818666242 Calling exit ...