Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.001753/0.001753, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002529/0.002529, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.378/1.378, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.224/0.224, allocations: 46.92 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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 67.89 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.307, allocations: 66.09 MB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003019/0.31, allocations: 1.745 MB / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3118, allocations: 1.045 MB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.3118, allocations: 3.938 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.3121, allocations: 59.69 kB / 0.5643 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.3124, allocations: 103.6 kB / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.3126, allocations: 79.67 kB / 0.5645 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3128, allocations: 99.73 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.3129, allocations: 9.828 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.313, allocations: 51.72 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.3131, allocations: 35.78 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3131, allocations: 4 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.3132, allocations: 39.98 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.3133, allocations: 31.86 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.3133, allocations: 47.66 kB / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.3136, allocations: 139.4 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3136, allocations: 3.938 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3136, allocations: 0 / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.3136, allocations: 0 / 0.565 GB, free: 0.7617 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.0005784/0.3141, allocations: 373.2 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3142, allocations: 12.03 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.136e-05/0.3142, allocations: 192 / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.3142, allocations: 38.75 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.3143, allocations: 16.84 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3145, allocations: 163.2 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3145, allocations: 384 / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.3146, allocations: 8.375 kB / 0.5655 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.3147, allocations: 57.55 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3147, allocations: 0 / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3147, allocations: 4 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3147, allocations: 3.984 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.693e-05/0.3148, allocations: 27.98 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.3152, allocations: 272 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3153, allocations: 54.56 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.3154, allocations: 20.84 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3154, allocations: 0 / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.3155, allocations: 71.39 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3155, allocations: 0 / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005152/0.3161, allocations: 189.3 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3161, allocations: 55.41 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.3164, allocations: 270.8 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3164, allocations: 25.7 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.3165, allocations: 116.1 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.3165, allocations: 27.78 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.3166, allocations: 21.72 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3167, allocations: 334.8 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.3168, allocations: 20 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.3169, allocations: 37.64 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.317, allocations: 61.7 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.317, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.3172, allocations: 117.4 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3172, allocations: 4 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.3172, allocations: 0 / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.3172, allocations: 0 / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.3173, allocations: 16 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3173, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.3173, allocations: 7.984 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.3174, allocations: 11.97 kB / 0.5673 GB, free: 14.16 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.0001178/0.3175, allocations: 139.1 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3175, allocations: 15.91 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.3178, allocations: 119.2 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3178, allocations: 0 / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3178, allocations: 0 / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3178, allocations: 0 / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.3182, allocations: 386.3 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3182, allocations: 384 / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.3183, allocations: 8 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3183, allocations: 0 / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3183, allocations: 11.94 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3183, allocations: 4.188 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3183, allocations: 7.922 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3185, allocations: 204.3 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.3186, allocations: 11.91 kB / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.3186, allocations: 11.94 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.3187, allocations: 0 / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.3187, allocations: 7.984 kB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3187, allocations: 4 kB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.3189, allocations: 208.6 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3189, allocations: 0 / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3192, allocations: 23.94 kB / 0.5684 GB, free: 12.92 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.002181/0.3213, allocations: 1.098 MB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.3215, allocations: 55.91 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3215, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.3216, allocations: 28.14 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.322, allocations: 28.06 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.002057/0.324, allocations: 1.838 MB / 0.5714 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.3244, allocations: 0.7197 MB / 0.5721 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.3244, allocations: 20.95 kB / 0.5721 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.3245, allocations: 43.42 kB / 0.5721 GB, free: 9.125 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3245, allocations: 3.938 kB / 0.5721 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.3481, allocations: 3.99 MB / 0.576 GB, free: 5.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.06, allocations: 6.484 kB / 0.5761 GB, free: 5.18 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.885417392011732] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.269856072030962 11.2851999 10.968500056 Calling exit ...