Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.0009521/0.0009521, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002252, allocations: 449.7 kB / 10.37 MB, free: 324 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.000879/0.000879, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.002041, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.002/1.002, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09982/1.102, allocations: 53.85 MB / 243.7 MB, free: 14.93 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.2879/0.2879, allocations: 34.86 MB / 279.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02358/0.3115, allocations: 13.23 MB / 292.6 MB, free: 6.477 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 294 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.255e-05, allocations: 2.875 kB / 294 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001843/0.001855, allocations: 1.804 MB / 295.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.002915, allocations: 1.029 MB / 296.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.002972, allocations: 0 / 296.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.003141, allocations: 43.7 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.003352, allocations: 87.48 kB / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.003516, allocations: 79.61 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.003669, allocations: 103.7 kB / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.003755, allocations: 7.938 kB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.003868, allocations: 87.8 kB / 297.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.003938, allocations: 27.86 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.003951, allocations: 4 kB / 297.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/0.004022, allocations: 43.92 kB / 297.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.004059, allocations: 19.92 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.004088, allocations: 11.94 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.004223, allocations: 95.66 kB / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.004236, allocations: 0 / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004237, allocations: 4 kB / 297.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.004249, allocations: 0 / 297.4 MB, free: 1.656 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003943/0.004644, allocations: 333 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.004673, allocations: 16.91 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.004702, allocations: 8.938 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004837, allocations: 141.6 kB / 297.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.004851, allocations: 4.375 kB / 297.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.004866, allocations: 4.375 kB / 297.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.004952, allocations: 65.73 kB / 298 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.00496, allocations: 192 / 298 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-06/0.004967, allocations: 8.375 kB / 298 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.004972, allocations: 3.938 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.601e-05/0.004998, allocations: 11.94 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.005168, allocations: 165.9 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.005251, allocations: 85.28 kB / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.005269, allocations: 16.92 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.005279, allocations: 3.984 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.34e-05/0.005372, allocations: 66.11 kB / 298.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.005373, allocations: 0 / 298.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002517/0.005625, allocations: 113.5 kB / 298.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.005652, allocations: 55.39 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.005741, allocations: 173 kB / 298.6 MB, free: 280 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.005754, allocations: 29.7 kB / 298.7 MB, free: 244 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.005782, allocations: 92.12 kB / 298.8 MB, free: 148 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.005806, allocations: 31.72 kB / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.005836, allocations: 17.72 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.005923, allocations: 326.8 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.005938, allocations: 14.81 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/0.00596, allocations: 18.66 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.006001, allocations: 48.44 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.006001, allocations: 4 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.632e-05/0.006068, allocations: 72.56 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.006079, allocations: 7.938 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006083, allocations: 4 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.00609, allocations: 3.938 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.006148, allocations: 12 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.006152, allocations: 11.92 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.006176, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.006181, allocations: 4 kB / 299.3 MB, free: 15.54 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 (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 5.598e-05/0.006237, allocations: 122.4 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.00625, allocations: 11.92 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.557e-05/0.006346, allocations: 75.64 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006347, allocations: 0 / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.006348, allocations: 4 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006352, allocations: 384 / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.006546, allocations: 291.5 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.006549, allocations: 7.938 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.006572, allocations: 12 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-06/0.006582, allocations: 7.953 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006584, allocations: 4.031 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.006589, allocations: 4 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.006592, allocations: 3.984 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.006594, allocations: 3.938 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.258e-05/0.006687, allocations: 214.7 kB / 300.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.006701, allocations: 4 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.006736, allocations: 0 / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.00676, allocations: 7.984 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.00677, allocations: 11.94 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.583e-05/0.006806, allocations: 44.34 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006806, allocations: 0 / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001366/0.006943, allocations: 31.89 kB / 300.2 MB, free: 14.64 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: 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.001393/0.008336, allocations: 0.6078 MB / 300.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.981e-05/0.008425, allocations: 44.78 kB / 300.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.008431, allocations: 0 / 300.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.008461, allocations: 32.94 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.008631, allocations: 44.28 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.009038, allocations: 224.3 kB / 301.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.009075, allocations: 71.33 kB / 301.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.00911, allocations: 21.09 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.00917, allocations: 67.38 kB / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00917, allocations: 0 / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Templates: time 0.003218/0.01239, allocations: 2.042 MB / 303.3 MB, free: 11.78 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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: 2.9414062332361937]