Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001265/0.001265, 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.001392/0.001392, allocations: 207.4 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.404/1.404, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2189/0.2189, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 79.88 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3095, allocations: 66.06 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003226/0.3127, allocations: 1.706 MB / 0.5632 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3145, allocations: 1.024 MB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.3146, allocations: 4 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.3149, allocations: 87.7 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.3152, allocations: 123.4 kB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.3155, allocations: 75.72 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.3157, allocations: 115.6 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.3157, allocations: 4.234 kB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3158, allocations: 51.77 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.316, allocations: 59.75 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.316, allocations: 4 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.512e-05/0.3161, allocations: 32 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.3161, allocations: 31.89 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.3162, allocations: 35.69 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3164, allocations: 113.5 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3164, allocations: 0 / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3164, allocations: 0 / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.3164, allocations: 4 kB / 0.5649 GB, free: 0.8164 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.0005052/0.3169, allocations: 341.5 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3169, allocations: 12.03 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.255e-05/0.3169, allocations: 4.172 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.317, allocations: 34.75 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.317, allocations: 12.84 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3173, allocations: 166.2 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3173, allocations: 384 / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.3173, allocations: 384 / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3174, allocations: 53.61 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3174, allocations: 0 / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3175, allocations: 0 / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3175, allocations: 0 / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.421e-05/0.3175, allocations: 19.98 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.3177, allocations: 156.8 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3179, allocations: 58.53 kB / 0.5657 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.3179, allocations: 16.86 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.318, allocations: 3.938 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.3181, allocations: 67.39 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3181, allocations: 0 / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002898/0.3184, allocations: 105.7 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3184, allocations: 51.41 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.3187, allocations: 215.5 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3187, allocations: 33.7 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.3187, allocations: 100.1 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3188, allocations: 19.88 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.3188, allocations: 21.66 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.319, allocations: 326.8 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.319, allocations: 15.98 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.3191, allocations: 33.7 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.992e-05/0.3192, allocations: 45.7 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3192, allocations: 7.938 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001727/0.3193, allocations: 81.53 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3194, allocations: 8 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3194, allocations: 3.984 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3194, allocations: 0 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.3195, allocations: 11.94 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3195, allocations: 4 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.3195, allocations: 4 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3195, allocations: 4 kB / 0.5669 GB, free: 14.6 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 0.000106/0.3196, allocations: 131.2 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.3196, allocations: 19.84 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.3198, allocations: 90.75 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3198, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3199, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3199, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.32, allocations: 164.7 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.32, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.32, allocations: 11.92 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.32, allocations: 4 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.32, allocations: 0 / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.32, allocations: 0 / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.32, allocations: 128 / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3202, allocations: 125 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.3203, allocations: 15.91 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3203, allocations: 0 / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.3203, allocations: 0 / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.3203, allocations: 11.98 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3204, allocations: 4 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.3205, allocations: 165.1 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3205, allocations: 0 / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000213/0.3207, allocations: 27.92 kB / 0.5676 GB, free: 13.77 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 (5): * Single equations (assignments): 3 * 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.001881/0.3226, allocations: 0.948 MB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.3228, allocations: 39.92 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3228, allocations: 0 / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.006e-05/0.3228, allocations: 15.98 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3231, allocations: 31.67 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.3249, allocations: 1.576 MB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3253, allocations: 0.708 MB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.3253, allocations: 8.5 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.3254, allocations: 35.42 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3254, allocations: 0 / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.348, allocations: 3.447 MB / 0.5743 GB, free: 7.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.97, allocations: 9.375 kB / 0.5743 GB, free: 7.008 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.78772449499229] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.17549156700261 11.190356485 10.870958231 Calling exit ...