Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.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.001768/0.001768, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002297/0.002297, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.506/1.506, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2227/0.2227, allocations: 46.88 MB / 361.1 MB, free: 4.66 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-beta.om/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: 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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003831/0.003831, allocations: 79.88 kB / 0.4968 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3378, allocations: 65.99 MB / 0.5613 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003871/0.3416, allocations: 2.058 MB / 0.5633 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3438, allocations: 1.131 MB / 0.5644 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.344, allocations: 7.938 kB / 0.5644 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.3444, allocations: 51.62 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.3447, allocations: 107.4 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.3451, allocations: 119.6 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.3454, allocations: 203.4 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3455, allocations: 24.34 kB / 0.5649 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.3456, allocations: 87.62 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3458, allocations: 79.55 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.3458, allocations: 12 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3459, allocations: 51.98 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.346, allocations: 35.84 kB / 0.5651 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.771e-05/0.3461, allocations: 79.52 kB / 0.5652 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.3465, allocations: 199.1 kB / 0.5654 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3465, allocations: 4 kB / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.3465, allocations: 7.938 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3466, allocations: 0 / 0.5654 GB, free: 0.7656 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001345/0.3479, allocations: 0.5601 MB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3479, allocations: 12.02 kB / 0.566 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.348, allocations: 16.84 kB / 0.566 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.3484, allocations: 255.9 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3484, allocations: 8.375 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.3485, allocations: 12.38 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.3489, allocations: 147 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.349, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.349, allocations: 12 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.349, allocations: 0 / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.3495, allocations: 115.8 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.3502, allocations: 0.5438 MB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007783/0.351, allocations: 154.6 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.3513, allocations: 72.8 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3513, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.3517, allocations: 143.1 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.3517, allocations: 0 / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009757/0.3527, allocations: 257.4 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3528, allocations: 55.39 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.353, allocations: 240.8 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3531, allocations: 33.7 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3532, allocations: 132.2 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.3532, allocations: 35.83 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.3533, allocations: 37.7 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3535, allocations: 330.8 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.3537, allocations: 67.92 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.3541, allocations: 108.2 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.3546, allocations: 193.8 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3546, allocations: 0 / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007531/0.3554, allocations: 263.1 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.3554, allocations: 33.7 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3554, allocations: 0 / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3554, allocations: 0 / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.3556, allocations: 39.97 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3556, allocations: 0 / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.3558, allocations: 35.8 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.3559, allocations: 8.062 kB / 0.5692 GB, free: 12.59 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.0001467/0.356, allocations: 141.8 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.3561, allocations: 15.91 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.3568, allocations: 210.8 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3568, allocations: 4 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3568, allocations: 4 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3568, allocations: 3.938 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.3571, allocations: 245.4 kB / 0.5698 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3571, allocations: 0 / 0.5698 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.3573, allocations: 23.97 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.3573, allocations: 0 / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3574, allocations: 0 / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.3574, allocations: 4 kB / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3574, allocations: 0 / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.359, allocations: 304.7 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3591, allocations: 97 kB / 0.5702 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.3591, allocations: 11.92 kB / 0.5702 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3594, allocations: 28.03 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.3595, allocations: 11.92 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.3595, allocations: 8 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.3597, allocations: 173.6 kB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3597, allocations: 0 / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.36, allocations: 39.92 kB / 0.5704 GB, free: 11.19 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 (12): * Single equations (assignments): 8 * 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.002074/0.3621, allocations: 413.5 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.3632, allocations: 207.2 kB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3632, allocations: 0 / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.3636, allocations: 80.06 kB / 0.5711 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.3641, allocations: 48.62 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.3651, allocations: 323.7 kB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.3656, allocations: 0.7319 MB / 0.5722 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.3657, allocations: 25.52 kB / 0.5722 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/0.3658, allocations: 23.42 kB / 0.5722 GB, free: 9.434 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3658, allocations: 0 / 0.5722 GB, free: 9.434 MB / 414.1 MB Notification: Performance of Templates: time 0.01036/0.3762, allocations: 2.902 MB / 0.5751 GB, free: 6.555 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.12831061007455] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.38808810291811824 0.41054501699999996 0.06022690699999994 Calling exit ...