Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 213.2 kB / 24.48 MB, free: 3.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 59.91 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3062, allocations: 66.04 MB / 0.5619 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00383/0.31, allocations: 1.968 MB / 0.5638 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3121, allocations: 1.057 MB / 0.5648 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.3122, allocations: 3.938 kB / 0.5648 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.3126, allocations: 59.56 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.313, allocations: 107.4 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3133, allocations: 115.7 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.3137, allocations: 203.4 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3138, allocations: 25.45 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3139, allocations: 91.56 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3141, allocations: 67.62 kB / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.3141, allocations: 12 kB / 0.5655 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3143, allocations: 55.97 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.3143, allocations: 43.84 kB / 0.5656 GB, free: 360 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.937e-05/0.3144, allocations: 59.59 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.3148, allocations: 193.9 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3148, allocations: 4 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3148, allocations: 0 / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3148, allocations: 4 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00107/0.3159, allocations: 0.4965 MB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3159, allocations: 8.031 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.316, allocations: 20.84 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.3164, allocations: 186.1 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3164, allocations: 8.375 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.3164, allocations: 16.12 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.3169, allocations: 177.8 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3169, allocations: 0 / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.317, allocations: 8 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.317, allocations: 0 / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.3175, allocations: 107.9 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.3182, allocations: 484.5 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.3189, allocations: 162.5 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.3192, allocations: 72.8 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.3192, allocations: 0 / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004402/0.3196, allocations: 172.9 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.3196, allocations: 0 / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000933/0.3206, allocations: 257.3 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.3206, allocations: 63.34 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.3209, allocations: 244 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3209, allocations: 29.7 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3211, allocations: 128.4 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.3211, allocations: 47.61 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.3212, allocations: 37.7 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3213, allocations: 326.8 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.3216, allocations: 101.6 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.322, allocations: 128.6 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.3225, allocations: 201.6 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3225, allocations: 4 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007289/0.3233, allocations: 292.8 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.3233, allocations: 37.69 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3233, allocations: 0 / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3233, allocations: 0 / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3235, allocations: 39.91 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.3235, allocations: 7.922 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.3237, allocations: 31.92 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.3237, allocations: 4 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001406/0.3239, allocations: 137.8 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.3239, allocations: 19.91 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.3246, allocations: 222.9 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3246, allocations: 0 / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3246, allocations: 3.938 kB / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3246, allocations: 0 / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.3248, allocations: 169.2 kB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3248, allocations: 4 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.325, allocations: 27.97 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.325, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.325, allocations: 4 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.325, allocations: 0 / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.325, allocations: 0 / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009483/0.326, allocations: 316.7 kB / 0.5704 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.326, allocations: 19.88 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.326, allocations: 8 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.3262, allocations: 19.97 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.3263, allocations: 19.91 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.3263, allocations: 11.94 kB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3265, allocations: 169.8 kB / 0.5707 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3265, allocations: 8.062 kB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3268, allocations: 39.92 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001622/0.3284, allocations: 432 kB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006909/0.3291, allocations: 253 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3291, allocations: 4.062 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.3294, allocations: 71.94 kB / 0.5714 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3297, allocations: 49.95 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.3305, allocations: 357.5 kB / 0.5718 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3306, allocations: 116.1 kB / 0.5719 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.3306, allocations: 23.44 kB / 0.572 GB, free: 9.574 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3306, allocations: 0 / 0.572 GB, free: 9.574 MB / 414.1 MB Notification: Performance of Templates: time 0.005736/0.3364, allocations: 2.91 MB / 0.5748 GB, free: 6.676 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.15664483839646] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.3456914681009948 0.36659115600000003 0.046157196000000004 Calling exit ...