Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.0008175/0.0008175, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001948, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007241/0.0007241, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009284/0.001652, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.117/1.117, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.22, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.2686/0.2686, allocations: 34.88 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03034/0.2989, allocations: 13.24 MB / 292.8 MB, free: 6.371 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.12e-07/9.12e-07, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/1.986e-05, allocations: 2.312 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003773/0.003792, allocations: 1.889 MB / 296.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.006793, allocations: 1.84 MB / 297.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.006948, allocations: 7.938 kB / 297.9 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.007261, allocations: 59.5 kB / 298 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.007778, allocations: 143.2 kB / 298.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.008275, allocations: 115.5 kB / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.008556, allocations: 199.3 kB / 298.4 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.008601, allocations: 14.45 kB / 298.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.008797, allocations: 165.1 kB / 298.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.008941, allocations: 63.8 kB / 298.7 MB, free: 496 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.008962, allocations: 8 kB / 298.7 MB, free: 488 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.009192, allocations: 111.8 kB / 298.8 MB, free: 376 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.009242, allocations: 31.86 kB / 298.8 MB, free: 344 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.009281, allocations: 31.88 kB / 298.8 MB, free: 312 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.009523, allocations: 183.3 kB / 299 MB, free: 128 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.009535, allocations: 4 kB / 299 MB, free: 124 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009536, allocations: 0 / 299 MB, free: 124 kB / 282.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.009543, allocations: 0 / 299 MB, free: 124 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004847/0.01003, allocations: 432.4 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.01006, allocations: 8.031 kB / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.01011, allocations: 16.92 kB / 299.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.01031, allocations: 180 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.01033, allocations: 384 / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.01034, allocations: 12.3 kB / 299.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.0105, allocations: 164.6 kB / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.01051, allocations: 192 / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.01052, allocations: 384 / 299.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.01053, allocations: 7.938 kB / 299.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.01056, allocations: 25.58 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.01067, allocations: 78.38 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.01077, allocations: 78.86 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.0108, allocations: 21.72 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.01081, allocations: 4 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.01094, allocations: 103.8 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.01094, allocations: 0 / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001542/0.01109, allocations: 95.25 kB / 300.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.01113, allocations: 77.11 kB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.01128, allocations: 225 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.0113, allocations: 29.7 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.01133, allocations: 104.6 kB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.01137, allocations: 27.73 kB / 300.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.0114, allocations: 37.69 kB / 300.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.01149, allocations: 326.8 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.01151, allocations: 14.81 kB / 301 MB, free: 13.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.01157, allocations: 108.5 kB / 301.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.248e-05/0.01163, allocations: 72.31 kB / 301.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01163, allocations: 0 / 301.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.088e-05/0.01172, allocations: 91.25 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.01173, allocations: 12.09 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01174, allocations: 0 / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.01176, allocations: 7.984 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.01183, allocations: 23.92 kB / 301.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.01184, allocations: 4 kB / 301.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.01188, allocations: 19.83 kB / 301.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.01189, allocations: 4 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 7.681e-05/0.01197, allocations: 124.6 kB / 301.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.01199, allocations: 15.98 kB / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.0121, allocations: 98.73 kB / 301.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0121, allocations: 4 kB / 301.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.0121, allocations: 0 / 301.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.01211, allocations: 3.938 kB / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.663e-05/0.01221, allocations: 105.8 kB / 301.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01221, allocations: 0 / 301.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.01223, allocations: 12 kB / 301.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.01225, allocations: 23.84 kB / 301.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01226, allocations: 3.938 kB / 301.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.01226, allocations: 4 kB / 301.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01226, allocations: 0 / 301.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01226, allocations: 4.25 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.01236, allocations: 127 kB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.01239, allocations: 7.984 kB / 301.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.01242, allocations: 4 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.01245, allocations: 7.984 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.01246, allocations: 4 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.33e-05/0.01252, allocations: 78.23 kB / 302 MB, free: 12.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01252, allocations: 0 / 302 MB, free: 12.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000174/0.0127, allocations: 59.86 kB / 302.1 MB, free: 12.75 MB / 298.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001958/0.01465, allocations: 0.6936 MB / 302.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.01478, allocations: 56.77 kB / 302.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.01479, allocations: 8 kB / 302.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.01483, allocations: 37.28 kB / 302.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01512, allocations: 367.3 kB / 303.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.01568, allocations: 280.4 kB / 303.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.01572, allocations: 75.98 kB / 303.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.249e-05/0.01578, allocations: 33.44 kB / 303.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01588, allocations: 95.34 kB / 303.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01588, allocations: 0 / 303.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of Templates: time 0.005333/0.02122, allocations: 3.804 MB / 307.5 MB, free: 7.598 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.11334100458771]