Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001093/0.001093, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002579, 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.0009338/0.0009338, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.0021, 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.05/1.05, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.154, 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.287/0.287, allocations: 34.88 MB / 279.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02806/0.315, 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.434e-05, allocations: 2.312 kB / 294.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002001/0.002015, allocations: 1.833 MB / 296 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003216, allocations: 1.037 MB / 297.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.003287, allocations: 7.938 kB / 297.1 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.003482, allocations: 79.64 kB / 297.1 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.003713, allocations: 131.3 kB / 297.3 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.003869, allocations: 91.53 kB / 297.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.004025, allocations: 123.6 kB / 297.5 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.004103, allocations: 15.98 kB / 297.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.004226, allocations: 91.8 kB / 297.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.004315, allocations: 55.88 kB / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.004329, allocations: 4 kB / 297.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.004419, allocations: 67.84 kB / 297.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.004461, allocations: 15.94 kB / 297.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.004491, allocations: 19.88 kB / 297.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.004662, allocations: 119.5 kB / 297.9 MB, free: 1.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.004673, allocations: 0 / 297.9 MB, free: 1.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004674, allocations: 4 kB / 297.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.004685, allocations: 0 / 297.9 MB, free: 1.277 MB / 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.0004296/0.005115, allocations: 368.8 kB / 298.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.005144, allocations: 8.922 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.005179, allocations: 12.92 kB / 298.3 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.005324, allocations: 154.3 kB / 298.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.005338, allocations: 384 / 298.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.005356, allocations: 4.375 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.005455, allocations: 73.69 kB / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.005464, allocations: 192 / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.005471, allocations: 384 / 298.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005477, allocations: 7.938 kB / 298.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.589e-05/0.005503, allocations: 15.98 kB / 298.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.005703, allocations: 173.9 kB / 298.7 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.005847, allocations: 93.23 kB / 298.8 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.005866, allocations: 8.859 kB / 298.8 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.005876, allocations: 4 kB / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.005976, allocations: 70.39 kB / 298.8 MB, free: 204 kB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005977, allocations: 0 / 298.8 MB, free: 204 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003997/0.006377, allocations: 187 kB / 299 MB, free: 12 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.006414, allocations: 51.41 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.006523, allocations: 196.1 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.006538, allocations: 29.7 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.006567, allocations: 92.11 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.006597, allocations: 47.61 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.006628, allocations: 29.69 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.006698, allocations: 326.8 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.006715, allocations: 10.83 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.31e-05/0.006738, allocations: 29.7 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.006788, allocations: 61.38 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006789, allocations: 0 / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.668e-05/0.006866, allocations: 87.7 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.006875, allocations: 4 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.006879, allocations: 0 / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.006891, allocations: 4 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.006949, allocations: 23.92 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.006953, allocations: 4 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.006978, allocations: 8.031 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.006984, allocations: 7.984 kB / 300 MB, free: 14.95 MB / 298.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 (13): * Single equations (assignments): 13 * 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 5.852e-05/0.007043, allocations: 116.7 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.007059, allocations: 19.91 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.007165, allocations: 87.06 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.007166, allocations: 3.938 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.007169, allocations: 4 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007173, allocations: 4 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.007401, allocations: 329.1 kB / 300.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007402, allocations: 4.062 kB / 300.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.007441, allocations: 19.94 kB / 300.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.007455, allocations: 15.89 kB / 300.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007458, allocations: 0 / 300.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.007464, allocations: 4 kB / 300.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007465, allocations: 0 / 300.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.007467, allocations: 4 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.007576, allocations: 235.8 kB / 300.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.007592, allocations: 4 kB / 300.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.007632, allocations: 4 kB / 300.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.007657, allocations: 15.92 kB / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.00767, allocations: 11.98 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.007718, allocations: 61.72 kB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007718, allocations: 0 / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.007867, allocations: 27.94 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001465/0.009332, allocations: 0.7093 MB / 301.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.009433, allocations: 56.72 kB / 301.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.00944, allocations: 0 / 301.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.009485, allocations: 44.77 kB / 301.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.009716, allocations: 180.9 kB / 302 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.01016, allocations: 275.4 kB / 302.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.58e-05/0.0102, allocations: 75.33 kB / 302.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.921e-05/0.01024, allocations: 16.92 kB / 302.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.01031, allocations: 71.36 kB / 302.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01031, allocations: 0 / 302.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of Templates: time 0.00367/0.01398, allocations: 2.328 MB / 304.7 MB, free: 10.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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: 2.8992295525968075]