Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001774/0.001774, 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.002187/0.002187, allocations: 207.5 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2212/0.2212, allocations: 46.93 MB / 361.6 MB, free: 4.16 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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 75.86 kB / 0.497 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3316, allocations: 66.09 MB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003536/0.3351, allocations: 1.743 MB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.337, allocations: 1.049 MB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.3371, allocations: 0 / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.3374, allocations: 43.75 kB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.3377, allocations: 99.53 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.3379, allocations: 71.75 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3382, allocations: 119.6 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3383, allocations: 5.969 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3384, allocations: 43.78 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.3385, allocations: 35.84 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3385, allocations: 4 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3386, allocations: 43.92 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.3387, allocations: 19.92 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.3388, allocations: 47.66 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.339, allocations: 119.5 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.339, allocations: 0 / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.339, allocations: 0 / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.339, allocations: 4 kB / 0.5649 GB, free: 0.8125 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.0006349/0.3396, allocations: 353.5 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3397, allocations: 8.031 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.181e-05/0.3397, allocations: 4.188 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.3398, allocations: 38.69 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.3398, allocations: 8.891 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3401, allocations: 158.3 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3401, allocations: 12.38 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3402, allocations: 384 / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3403, allocations: 57.61 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3403, allocations: 0 / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3404, allocations: 4 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3404, allocations: 0 / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.656e-05/0.3405, allocations: 23.92 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.3409, allocations: 263.9 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.3411, allocations: 62.67 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.3411, allocations: 12.86 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3412, allocations: 4 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.3413, allocations: 71.31 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3413, allocations: 0 / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005696/0.3419, allocations: 185.2 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.342, allocations: 55.41 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.3422, allocations: 214.2 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.3423, allocations: 33.7 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.3423, allocations: 100.1 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.3424, allocations: 23.8 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.3424, allocations: 29.7 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3426, allocations: 330.8 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.3427, allocations: 16 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.3428, allocations: 37.7 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3429, allocations: 65.69 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3429, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002197/0.3431, allocations: 105.6 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3431, allocations: 10.38 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3431, allocations: 3.938 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3432, allocations: 4 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3433, allocations: 15.94 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3433, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.3433, allocations: 7.984 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3433, allocations: 7.938 kB / 0.5672 GB, free: 14.32 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.0001421/0.3435, allocations: 121.8 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.3435, allocations: 11.91 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.3438, allocations: 123 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3438, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3438, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3438, allocations: 3.984 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.3443, allocations: 366.3 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3443, allocations: 4.375 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.3443, allocations: 4 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.3443, allocations: 8.031 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3443, allocations: 7.938 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3443, allocations: 3.984 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3443, allocations: 7.984 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3446, allocations: 208.2 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.3446, allocations: 7.953 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3446, allocations: 7.938 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.3447, allocations: 8.188 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.3447, allocations: 3.984 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3448, allocations: 7.938 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.3449, allocations: 160.3 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3449, allocations: 0 / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3452, allocations: 23.92 kB / 0.5682 GB, free: 13.16 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.002227/0.3474, allocations: 1.086 MB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.3476, allocations: 55.97 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3476, allocations: 0 / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.456e-05/0.3477, allocations: 27.92 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3481, allocations: 26.38 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3502, allocations: 1.693 MB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3505, allocations: 0.708 MB / 0.5717 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.296e-05/0.3506, allocations: 20.88 kB / 0.5717 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.3506, allocations: 35.42 kB / 0.5718 GB, free: 9.531 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3506, allocations: 4 kB / 0.5718 GB, free: 9.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3742, allocations: 3.707 MB / 0.5754 GB, free: 5.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.95, allocations: 10.19 kB / 0.5754 GB, free: 5.863 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.762594862957485] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.154411734023597 11.169832312 10.827880689 Calling exit ...