Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001116/0.001116, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002662, 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.001024/0.001024, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002325, 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.9516/0.9516, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09045/1.042, allocations: 53.86 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.2749/0.2749, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02371/0.2986, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 293.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.249e-05, allocations: 2.312 kB / 293.9 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001801/0.001814, allocations: 1.687 MB / 295.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.002506, allocations: 0.564 MB / 296.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.002554, allocations: 4 kB / 296.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.002721, allocations: 91.67 kB / 296.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.002902, allocations: 111.5 kB / 296.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.003119, allocations: 112.5 kB / 296.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.003244, allocations: 87.73 kB / 296.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.48e-05/0.003319, allocations: 16 kB / 296.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.00341, allocations: 75.75 kB / 296.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.003487, allocations: 43.89 kB / 296.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.0035, allocations: 4 kB / 296.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.003572, allocations: 47.91 kB / 296.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.003605, allocations: 19.92 kB / 296.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.003629, allocations: 11.94 kB / 296.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.003757, allocations: 87.69 kB / 296.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.00377, allocations: 0 / 296.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.003771, allocations: 0 / 296.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.003784, allocations: 0 / 296.9 MB, free: 2.188 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003675/0.004152, allocations: 348.9 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.004179, allocations: 8.922 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.004207, allocations: 12.94 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.004327, allocations: 137.6 kB / 297.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.954e-06/0.004335, allocations: 384 / 297.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.004352, allocations: 8.375 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.004436, allocations: 58.92 kB / 297.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.004443, allocations: 192 / 297.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.004451, allocations: 4.375 kB / 297.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004457, allocations: 4.375 kB / 297.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.004482, allocations: 23.84 kB / 297.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.004674, allocations: 179.1 kB / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.004723, allocations: 37.47 kB / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.00474, allocations: 12.94 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.004758, allocations: 0 / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.004783, allocations: 34.5 kB / 297.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004784, allocations: 4 kB / 297.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003877/0.005171, allocations: 137.4 kB / 297.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.005199, allocations: 55.41 kB / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.005303, allocations: 196.2 kB / 298.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.005312, allocations: 25.7 kB / 298.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.005343, allocations: 100.1 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.005364, allocations: 23.78 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.005391, allocations: 25.7 kB / 298.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.005465, allocations: 326.8 kB / 298.6 MB, free: 312 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.005477, allocations: 4 kB / 298.6 MB, free: 308 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.005487, allocations: 4 kB / 298.6 MB, free: 304 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.00552, allocations: 31.66 kB / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.00552, allocations: 3.938 kB / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.57e-05/0.005576, allocations: 65.61 kB / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.005589, allocations: 4 kB / 298.7 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.005593, allocations: 3.938 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.0056, allocations: 0 / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.08e-05/0.005661, allocations: 19.98 kB / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.005663, allocations: 0 / 298.7 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.00568, allocations: 4 kB / 298.7 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005684, allocations: 0 / 298.7 MB, free: 160 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.008e-05/0.005745, allocations: 120.6 kB / 298.8 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.005761, allocations: 15.94 kB / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.005865, allocations: 79.38 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.005869, allocations: 4 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.00587, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.005873, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.006075, allocations: 259.4 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006076, allocations: 0 / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.006111, allocations: 16 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.006121, allocations: 15.89 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.006122, allocations: 432 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.006127, allocations: 4.031 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.006129, allocations: 7.938 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.006131, allocations: 4 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.639e-05/0.006208, allocations: 164.3 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.006217, allocations: 0 / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/0.006249, allocations: 4 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.006273, allocations: 11.97 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.006276, allocations: 0 / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.006319, allocations: 60.7 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006319, allocations: 0 / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001271/0.006447, allocations: 16 kB / 299.5 MB, free: 15.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001262/0.007708, allocations: 0.6216 MB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.648e-05/0.007785, allocations: 36.83 kB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.00779, allocations: 0 / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/0.007814, allocations: 28.78 kB / 300.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.00797, allocations: 24.23 kB / 300.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.008361, allocations: 251.8 kB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.008398, allocations: 71.33 kB / 300.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.205e-05/0.00843, allocations: 8.797 kB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.008479, allocations: 63.36 kB / 300.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008479, allocations: 0 / 300.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of Templates: time 0.003155/0.01163, allocations: 1.547 MB / 302.1 MB, free: 12.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.676101939752698]