Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001541/0.001541, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002179/0.002179, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.382/1.382, allocations: 230.5 MB / 258.2 MB, free: 7.77 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.2466/0.2466, allocations: 46.95 MB / 361.6 MB, free: 3.906 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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 75.88 kB / 0.497 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3409, allocations: 66.09 MB / 0.5615 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003289/0.3442, allocations: 1.659 MB / 0.5631 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3459, allocations: 0.9515 MB / 0.5641 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.346, allocations: 4 kB / 0.5641 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.3463, allocations: 59.73 kB / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.3466, allocations: 103.6 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.3468, allocations: 79.67 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.3469, allocations: 107.7 kB / 0.5644 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.347, allocations: 4.234 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.3471, allocations: 51.77 kB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3472, allocations: 39.84 kB / 0.5645 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3472, allocations: 4 kB / 0.5645 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.3473, allocations: 39.92 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.3473, allocations: 23.91 kB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.3474, allocations: 23.81 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.3476, allocations: 117.3 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3476, allocations: 0 / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.3476, allocations: 0 / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.3476, allocations: 0 / 0.5647 GB, free: 0.7305 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005435/0.3481, allocations: 341.6 kB / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3482, allocations: 12.03 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.271e-05/0.3482, allocations: 4.125 kB / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.3482, allocations: 30.75 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3483, allocations: 16.84 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.3485, allocations: 147 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3485, allocations: 4.375 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.3486, allocations: 4.375 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3487, allocations: 49.61 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3487, allocations: 0 / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3487, allocations: 0 / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3487, allocations: 4 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.3488, allocations: 19.92 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.349, allocations: 156.7 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.3492, allocations: 54.61 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.3493, allocations: 20.84 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3493, allocations: 3.938 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.3495, allocations: 67.39 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.3495, allocations: 0 / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002906/0.3497, allocations: 97.56 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.3498, allocations: 55.39 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.35, allocations: 202.3 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.35, allocations: 29.7 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.3501, allocations: 104.1 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.3501, allocations: 19.83 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.3502, allocations: 17.72 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3503, allocations: 322.8 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.3504, allocations: 15.98 kB / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.3504, allocations: 29.7 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.3505, allocations: 45.66 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3505, allocations: 0 / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001681/0.3507, allocations: 101.5 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3507, allocations: 4 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3507, allocations: 3.938 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3507, allocations: 4 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.3508, allocations: 11.98 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3508, allocations: 0 / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.3508, allocations: 4 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3508, allocations: 3.938 kB / 0.5666 GB, free: 14.56 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 (7): * Single equations (assignments): 7 * 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 9.9e-05/0.3509, allocations: 123.1 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.351, allocations: 19.92 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3512, allocations: 99.02 kB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3512, allocations: 0 / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3512, allocations: 64 / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3512, allocations: 7.984 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3513, allocations: 160.6 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3513, allocations: 4 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.3514, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3514, allocations: 0 / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3514, allocations: 0 / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3514, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3514, allocations: 160 / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3516, allocations: 125 kB / 0.5671 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.3516, allocations: 19.89 kB / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3516, allocations: 0 / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.3516, allocations: 4 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.3517, allocations: 3.984 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3517, allocations: 4 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.3519, allocations: 148.2 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3519, allocations: 0 / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.3521, allocations: 23.94 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002012/0.3541, allocations: 0.9799 MB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.3542, allocations: 47.91 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3542, allocations: 0 / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.285e-05/0.3543, allocations: 16 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.3546, allocations: 27.97 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.3563, allocations: 1.536 MB / 0.5699 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.6e-05/0.3564, allocations: 93.25 kB / 0.57 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.617e-05/0.3565, allocations: 12.48 kB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.3565, allocations: 27.44 kB / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3565, allocations: 0 / 0.57 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.3804, allocations: 3.495 MB / 0.5734 GB, free: 7.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.1, allocations: 8.062 kB / 0.5734 GB, free: 7.555 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.996255973004736] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.317989545990713 11.332896082 10.982275185 Calling exit ...