Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001321/0.001321, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.0009861/0.0009861, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9976/0.9976, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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.1471/0.1471, allocations: 34.88 MB / 297.4 MB, free: 13.36 MB / 282.7 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.486e-06/3.486e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.045e-05/5.393e-05, allocations: 5.609 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.005418/0.005472, allocations: 1.745 MB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.007273, allocations: 0.9969 MB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.007411, allocations: 4 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.007897, allocations: 39.77 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.008286, allocations: 103.4 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.008529, allocations: 83.59 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.008742, allocations: 107.7 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.008897, allocations: 8 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.009004, allocations: 55.77 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.009109, allocations: 23.91 kB / 383.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.009131, allocations: 8 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.009239, allocations: 47.91 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.274e-05/0.009312, allocations: 23.92 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.00936, allocations: 19.88 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.009587, allocations: 95.66 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.009594, allocations: 7.984 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.009596, allocations: 0 / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.009604, allocations: 4 kB / 383.5 MB, free: 19.29 MB / 314.7 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.0006156/0.01022, allocations: 451.8 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.01028, allocations: 12.02 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.01034, allocations: 16.84 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.01059, allocations: 153.4 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.01062, allocations: 4.312 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.01064, allocations: 4.375 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.01081, allocations: 62.92 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.01083, allocations: 192 / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.01084, allocations: 384 / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.01085, allocations: 11.94 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.01089, allocations: 15.92 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.01122, allocations: 256.4 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.01134, allocations: 47.17 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.01137, allocations: 15.67 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.01139, allocations: 4 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.01152, allocations: 68.97 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.01153, allocations: 0 / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004352/0.01196, allocations: 145.8 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.012, allocations: 51.41 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.01215, allocations: 241.7 kB / 385 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.01217, allocations: 25.7 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.01224, allocations: 158.8 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.01228, allocations: 23.83 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.01232, allocations: 27.38 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.01248, allocations: 0.5001 MB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.0125, allocations: 12.05 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.01254, allocations: 27.38 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.0126, allocations: 59.34 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.0126, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001235/0.01272, allocations: 89.47 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.01275, allocations: 9.562 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01275, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.01277, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.01286, allocations: 15.98 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.01287, allocations: 4 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.0129, allocations: 0 / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01291, allocations: 8.031 kB / 385.9 MB, free: 16.59 MB / 314.7 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.0001036/0.01301, allocations: 160.6 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.01304, allocations: 23.88 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.01321, allocations: 95.08 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.01321, allocations: 7.938 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01321, allocations: 0 / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.01322, allocations: 3.984 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.01353, allocations: 365.5 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01353, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.01357, allocations: 11.94 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01357, allocations: 4.031 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.01358, allocations: 7.984 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01358, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01358, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.01373, allocations: 263.4 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.01374, allocations: 7.953 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.01376, allocations: 0 / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.285e-05/0.0138, allocations: 4 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.01384, allocations: 7.984 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01386, allocations: 4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.01393, allocations: 172.2 kB / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01393, allocations: 0 / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.0141, allocations: 24 kB / 387.1 MB, free: 15.38 MB / 314.7 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 (9): * Single equations (assignments): 7 * 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.001169/0.01527, allocations: 438.4 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.01541, allocations: 51.58 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01542, allocations: 4 kB / 387.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.01546, allocations: 27.61 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.01572, allocations: 36.03 kB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.01612, allocations: 227.8 kB / 387.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.117e-05/0.01616, allocations: 71.2 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.01621, allocations: 12.97 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.01628, allocations: 90.19 kB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01628, allocations: 0 / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Templates: time 0.00468/0.02096, allocations: 2.083 MB / 390.1 MB, free: 12.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3119529630057514]