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.001042/0.001042, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.0012/0.0012, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9996/0.9996, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2922/0.2922, allocations: 34.26 MB / 295.7 MB, free: 0.7383 MB / 266.7 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 1.563e-06/1.563e-06, allocations: 0 / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.561e-05, allocations: 2.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00252/0.002546, allocations: 2.055 MB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.003916, allocations: 1.095 MB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.004019, allocations: 3.938 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.004356, allocations: 51.62 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.00468, allocations: 111.3 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.004937, allocations: 111.6 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.005182, allocations: 211.2 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.005285, allocations: 29.78 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.00542, allocations: 111.7 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.621e-05/0.005516, allocations: 59.8 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.005539, allocations: 12 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.005627, allocations: 51.92 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.005691, allocations: 43.83 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.005748, allocations: 47.84 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.006053, allocations: 167.3 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.006056, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006056, allocations: 3.938 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.006061, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 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.0006377/0.006699, allocations: 0.5809 MB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.006737, allocations: 8.031 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.006806, allocations: 28.8 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.007031, allocations: 188.2 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.00705, allocations: 8.375 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.007073, allocations: 8.375 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.007315, allocations: 171.6 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.007323, allocations: 3.938 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.007336, allocations: 4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.007345, allocations: 4 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.00742, allocations: 35.91 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.007913, allocations: 0.6067 MB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.008268, allocations: 83.16 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.008318, allocations: 31.66 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.008333, allocations: 8 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.008491, allocations: 130.5 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.008493, allocations: 7.984 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002649/0.008758, allocations: 133.6 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.008788, allocations: 55.41 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.008946, allocations: 270.7 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.008964, allocations: 29.69 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.009043, allocations: 179 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.009068, allocations: 35.88 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.009117, allocations: 47.31 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.009231, allocations: 0.504 MB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.009303, allocations: 49.69 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.856e-05/0.009382, allocations: 108.1 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.009498, allocations: 124 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.009501, allocations: 0 / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002154/0.009716, allocations: 204.9 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.009752, allocations: 35.73 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.009757, allocations: 0 / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.009773, allocations: 4 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.009877, allocations: 31.97 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.009885, allocations: 3.938 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.009965, allocations: 31.88 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.009977, allocations: 4 kB / 386 MB, free: 10.33 MB / 362.7 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.0001002/0.01008, allocations: 177 kB / 386.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.0101, allocations: 27.92 kB / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.0103, allocations: 142.8 kB / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.0103, allocations: 0 / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.0103, allocations: 0 / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01031, allocations: 4 kB / 386.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.01043, allocations: 180.4 kB / 386.5 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01044, allocations: 0 / 386.5 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.0105, allocations: 15.98 kB / 386.5 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01051, allocations: 4 kB / 386.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01052, allocations: 0 / 386.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01052, allocations: 7.984 kB / 386.5 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01052, allocations: 0 / 386.5 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.01076, allocations: 200.1 kB / 386.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.01078, allocations: 23.84 kB / 386.7 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.0108, allocations: 0 / 386.7 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.01086, allocations: 15.98 kB / 386.8 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.01091, allocations: 15.97 kB / 386.8 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.01093, allocations: 8 kB / 386.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.466e-05/0.01102, allocations: 189.8 kB / 387 MB, free: 9.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 0 / 387 MB, free: 9.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.0112, allocations: 43.97 kB / 387 MB, free: 9.234 MB / 362.7 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.0008646/0.01207, allocations: 392.5 kB / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.01259, allocations: 175.4 kB / 387.6 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01259, allocations: 0 / 387.6 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.01266, allocations: 51.48 kB / 387.6 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.0129, allocations: 48.62 kB / 387.7 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.0134, allocations: 298.6 kB / 388 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.963e-05/0.01345, allocations: 87.98 kB / 388 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.01351, allocations: 25.73 kB / 388.1 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.01356, allocations: 20.5 kB / 388.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.01356, allocations: 0 / 388.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of Templates: time 0.005464/0.01902, allocations: 3.315 MB / 391.4 MB, free: 4.957 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.1291314610280097]