Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001145/0.001145, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002384, 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.000841/0.000841, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.001952, 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 0.9983/0.9983, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08744/1.086, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.2556/0.2556, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02266/0.2782, allocations: 13.24 MB / 292.6 MB, free: 6.48 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.272e-05, allocations: 2.312 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.001999/0.002011, allocations: 1.971 MB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.00321, allocations: 1.126 MB / 297.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.003282, allocations: 7.938 kB / 297.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.003502, allocations: 159.4 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.003753, allocations: 199.1 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.003913, allocations: 119.5 kB / 297.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.00413, allocations: 239.2 kB / 297.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.004215, allocations: 34.53 kB / 297.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.004399, allocations: 184.3 kB / 298 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.004525, allocations: 111.7 kB / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.004543, allocations: 11.94 kB / 298.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.714e-05/0.00463, allocations: 63.92 kB / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.004693, allocations: 47.84 kB / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.004743, allocations: 35.81 kB / 298.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.004958, allocations: 175.2 kB / 298.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.004971, allocations: 0 / 298.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004971, allocations: 4 kB / 298.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.004986, allocations: 0 / 298.4 MB, free: 0.6172 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00051/0.005496, allocations: 492 kB / 298.9 MB, free: 116 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.005524, allocations: 8.031 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.005562, allocations: 24.91 kB / 298.9 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.005753, allocations: 205.7 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.00577, allocations: 8.375 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.005788, allocations: 8.375 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.005922, allocations: 115.4 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.005931, allocations: 192 / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.00594, allocations: 4.375 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005947, allocations: 7.938 kB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.248e-05/0.005989, allocations: 29.58 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.006277, allocations: 296.8 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.006471, allocations: 190.6 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.0065, allocations: 25.72 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.006512, allocations: 4.25 kB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.006634, allocations: 116.9 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.32e-07/0.006635, allocations: 0 / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005482/0.007183, allocations: 317.8 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.007218, allocations: 77.11 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.007381, allocations: 288.7 kB / 300.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.007398, allocations: 37.7 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.007441, allocations: 117.2 kB / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.007485, allocations: 75.41 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.007526, allocations: 41.67 kB / 300.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.007614, allocations: 346.6 kB / 301.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.007641, allocations: 22.81 kB / 301.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.007684, allocations: 55.41 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.007773, allocations: 107.7 kB / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.007775, allocations: 4 kB / 301.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001223/0.007897, allocations: 132.5 kB / 301.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.007909, allocations: 11.98 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007913, allocations: 0 / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.007921, allocations: 0 / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.008022, allocations: 47.92 kB / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.008026, allocations: 0 / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.008065, allocations: 15.92 kB / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.008072, allocations: 4 kB / 301.6 MB, free: 13.22 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.758e-05/0.00815, allocations: 136.6 kB / 301.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.008174, allocations: 27.97 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.00834, allocations: 157.6 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.008342, allocations: 0 / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.008344, allocations: 4 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.008351, allocations: 3.984 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.008741, allocations: 0.5486 MB / 302.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.008743, allocations: 8.109 kB / 302.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.0088, allocations: 39.92 kB / 302.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.00882, allocations: 27.81 kB / 302.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.008823, allocations: 3.938 kB / 302.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.008832, allocations: 8 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.008835, allocations: 4 kB / 302.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008836, allocations: 0 / 302.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.009022, allocations: 409.4 kB / 303 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.009048, allocations: 11.94 kB / 303 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.00912, allocations: 15.92 kB / 303 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.009153, allocations: 27.91 kB / 303 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.009168, allocations: 8 kB / 303 MB, free: 11.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.908e-05/0.009247, allocations: 119.5 kB / 303.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009247, allocations: 0 / 303.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.009431, allocations: 51.92 kB / 303.2 MB, free: 11.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001582/0.01101, allocations: 0.7137 MB / 303.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01114, allocations: 100.9 kB / 304 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.01114, allocations: 4 kB / 304 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.0112, allocations: 60.69 kB / 304.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.01148, allocations: 86.56 kB / 304.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.01205, allocations: 472.2 kB / 304.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.01211, allocations: 96.17 kB / 304.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.689e-05/0.01218, allocations: 42.3 kB / 304.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.01227, allocations: 95.34 kB / 304.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01227, allocations: 3.938 kB / 304.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Templates: time 0.00497/0.01724, allocations: 3.68 MB / 308.5 MB, free: 6.566 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.027231057174504]