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.001463/0.001463, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001698/0.001698, allocations: 208.3 kB / 25.12 MB, free: 3.59 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.477/1.477, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2518/0.2518, allocations: 46.93 MB / 362 MB, free: 4.223 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.00231/0.00231, allocations: 83.84 kB / 0.4979 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3656, allocations: 66.08 MB / 0.5624 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003628/0.3693, allocations: 2.05 MB / 0.5644 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3713, allocations: 1.134 MB / 0.5655 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.3714, allocations: 3.938 kB / 0.5655 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.3717, allocations: 55.58 kB / 0.5656 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.3721, allocations: 111.4 kB / 0.5657 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.3724, allocations: 115.6 kB / 0.5658 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.3727, allocations: 203.4 kB / 0.566 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3728, allocations: 24.61 kB / 0.566 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.373, allocations: 91.56 kB / 0.5661 GB, free: 448 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.3732, allocations: 79.61 kB / 0.5662 GB, free: 368 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.3732, allocations: 12 kB / 0.5662 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.3733, allocations: 51.98 kB / 0.5662 GB, free: 304 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.3734, allocations: 47.78 kB / 0.5663 GB, free: 256 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3735, allocations: 71.53 kB / 0.5663 GB, free: 184 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.3739, allocations: 195 kB / 0.5665 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3739, allocations: 7.938 kB / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3739, allocations: 0 / 0.5665 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.3739, allocations: 4 kB / 0.5665 GB, free: 15.98 MB / 414.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.000991/0.3749, allocations: 0.4925 MB / 0.567 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3749, allocations: 8.031 kB / 0.567 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.375, allocations: 16.84 kB / 0.567 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.3754, allocations: 190.2 kB / 0.5672 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3754, allocations: 8.375 kB / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.3754, allocations: 12.36 kB / 0.5672 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.3759, allocations: 178.1 kB / 0.5674 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3759, allocations: 0 / 0.5674 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3759, allocations: 8 kB / 0.5674 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3759, allocations: 4 kB / 0.5674 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.3763, allocations: 111.2 kB / 0.5675 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.3771, allocations: 0.5195 MB / 0.568 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.3777, allocations: 154.5 kB / 0.5682 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.378, allocations: 72.8 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.378, allocations: 4 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.3784, allocations: 160.9 kB / 0.5684 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.3784, allocations: 4 kB / 0.5684 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000892/0.3793, allocations: 249.4 kB / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.3794, allocations: 59.41 kB / 0.5687 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.3796, allocations: 238.2 kB / 0.5689 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.3797, allocations: 29.7 kB / 0.569 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3798, allocations: 140.4 kB / 0.5691 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.3798, allocations: 31.7 kB / 0.5691 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.3799, allocations: 41.64 kB / 0.5692 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.38, allocations: 330.8 kB / 0.5695 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3803, allocations: 97.64 kB / 0.5696 GB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.3806, allocations: 129.9 kB / 0.5697 GB, free: 12.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.3811, allocations: 197.8 kB / 0.5699 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3811, allocations: 0 / 0.5699 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007029/0.3818, allocations: 288.8 kB / 0.5702 GB, free: 11.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.3819, allocations: 29.7 kB / 0.5702 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3819, allocations: 4 kB / 0.5702 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3819, allocations: 3.984 kB / 0.5702 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.3821, allocations: 39.91 kB / 0.5702 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3821, allocations: 4 kB / 0.5702 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3823, allocations: 27.86 kB / 0.5703 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.3823, allocations: 16.06 kB / 0.5703 GB, free: 11.84 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.0001419/0.3824, allocations: 137.8 kB / 0.5704 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.3825, allocations: 15.91 kB / 0.5704 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.3831, allocations: 210.9 kB / 0.5706 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3831, allocations: 4 kB / 0.5706 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3831, allocations: 4 kB / 0.5706 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3831, allocations: 3.938 kB / 0.5706 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.3834, allocations: 216.5 kB / 0.5708 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3834, allocations: 4 kB / 0.5708 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3835, allocations: 23.92 kB / 0.5709 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3835, allocations: 3.984 kB / 0.5709 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3835, allocations: 4 kB / 0.5709 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3835, allocations: 0 / 0.5709 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3835, allocations: 0 / 0.5709 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.3844, allocations: 304.8 kB / 0.5712 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.3844, allocations: 23.83 kB / 0.5712 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.3845, allocations: 4.062 kB / 0.5712 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3846, allocations: 23.97 kB / 0.5712 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.3847, allocations: 19.91 kB / 0.5712 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3847, allocations: 4 kB / 0.5712 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3849, allocations: 172.5 kB / 0.5714 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3849, allocations: 0 / 0.5714 GB, free: 10.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.3851, allocations: 43.92 kB / 0.5714 GB, free: 10.56 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.001509/0.3867, allocations: 411.2 kB / 0.5718 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000682/0.3873, allocations: 244.8 kB / 0.5721 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3873, allocations: 0 / 0.5721 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.3876, allocations: 80.12 kB / 0.5721 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3879, allocations: 43.89 kB / 0.5722 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.3887, allocations: 315.8 kB / 0.5725 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.3892, allocations: 0.7359 MB / 0.5732 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3893, allocations: 21.47 kB / 0.5732 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/0.3893, allocations: 19.44 kB / 0.5732 GB, free: 8.781 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3893, allocations: 0 / 0.5732 GB, free: 8.781 MB / 414.1 MB Notification: Performance of Templates: time 0.007858/0.3972, allocations: 2.933 MB / 0.5761 GB, free: 5.867 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.064907334046438] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.4062971780076623 0.42282538900000005 0.045328752 Calling exit ...